From: ninja AT aerohel DOT snu DOT ac DOT kr (Chun, Sung Jin) Subject: [Q] How to get argc, argv, environ variable in Win32 22 Jul 1998 07:27:22 -0700 Message-ID: <000601bdb536$095d1ac0$92752e93.cygnus.gnu-win32@aeromdo2.snu.ac.kr> Reply-To: "Chun, Sung Jin" To: "GNU-Win32" 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 AT aerohel DOT snu DOT ac DOT kr ---ObjC--- NSString* NSMyName = @"Chun, sungjin"; [ NSMyName fly ]; ---ObjC--- ****************************************** - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".