RE: [GD-Windows] Program directory
Brought to you by:
vexxed72
From: Andrew G. <ag...@cl...> - 2002-06-11 16:44:36
|
This way is unreliable, don't do it. Under an NT kernel the presence of a path on the command line depends on how your program was started. Ditto using argv[0] as someone suggested.. Andrew Grant- Climax Brighton > -----Original Message----- > From: Aaron Burton [mailto:aar...@po...] > Sent: 11 June 2002 17:29 > To: gam...@li... > Subject: RE: [GD-Windows] Program directory > > > > > > I think you can still get at the command line even if you are > > a windows app > > and not a console app. > > > > Yep, GetCommandLine() will do that. > > Aaron. > > |