[Q] How to get argc, argv, environ variable in Win32
Chun, Sung Jin
ninja@aerohel.snu.ac.kr
Tue Jul 21 23:00:00 GMT 1998
In WinMain function, there's no argc, argv, and environ
variable.
I found that there's global variable
extern int __argc;
extern char** __argv;
extern char** _environ;
But this does not work. For example, __argc is
100XXX like number when I print it from WinMain.
How can I get this individually in WinMain ?
Thanks in advance and Please reply me via e-mail.
******************************************
I like N*Step's beauty, but Iove Freedom.
ninja@aerohel.snu.ac.kr
---ObjC---
NSString* NSMyName = @"Chun, sungjin";
[ NSMyName fly ];
---ObjC---
******************************************
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list