This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
lpCommandLine in Cygwin WinMain
- To: gnu-win32 at cygnus dot com
- Subject: lpCommandLine in Cygwin WinMain
- From: vischne at ibm dot net
- Date: Fri, 30 Jan 1998 16:14:12 GMT
I wonder what prompted the Cygnus people to change the standard WinMain
parameter for `lpCommandLine' so that the first substring is argv[0].
I know it makes sense, but it isn't standard. Any program written for
Win32/95/NT assumes that the first substring of `lpCommandLine' is
argv[1].
It seems like such an easy fix to change the specs document so that the
windows subsystem option doesn't include libcygwin.a automatically. If
I want to write a Windows program, I don't assume the presence of Unix
functions. I assume that, if I include, e. g., stdio.h, the linking
process should crash, not succeed.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".