home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!nntp1.radiomail.net!cronos!bombay!sanzgiri
- From: sanzgiri@bombay.metaphor.com (Ajit Sanzgiri)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: How to find name of app ?
- Message-ID: <2770@cronos.metaphor.com>
- Date: 29 Jan 93 01:29:30 GMT
- Sender: news@cronos.metaphor.com
- Organization: Metaphor Computer Systems, Mountain View, CA
- Lines: 11
- Originator: sanzgiri@bombay
-
-
- How does one programmatically find the name of the application
- running the currently executing code ? In UNIX this info is
- contained in argv[0]. In Windows the corresponding arg to WinMain
- (lpCmdLine) does not contain the program name. Is it available some
- other way ?
-
- My Win16 programming guide speaks about externals called _argc and
- _argv. These don't seem to exist under Win32.
-
- -ajit sanzgiri
-