Thursday, February 19, 2009

getopt() for windows

On most embedded projects, I find the need to write utility applications that run on a PC. I have written programs to emulate TCP/IP clients and servers, test USB communications, test protocol implementation in firmware, and automate GPIB testing. Since most Linux (Unix, FreeBSD, etc.) utilities use getopt() for command line processing, I find it very useful when creating these utilities on Linux. I just found that I can do the same for Windows with this getopt port for Win32 and MFC development by Hans Dietrich.

No comments: