public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [Q] How to get argc, argv, environ variable in Win32
@ 1998-07-21 23:00 Chun, Sung Jin
  0 siblings, 0 replies; only message in thread
From: Chun, Sung Jin @ 1998-07-21 23:00 UTC (permalink / raw)
  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@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".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-21 23:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-21 23:00 [Q] How to get argc, argv, environ variable in Win32 Chun, Sung Jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).