|
-
April 18th, 1999, 11:12 AM
#1
Complete Path
When i start my program i want to know the complete path to were the
application began. Is there an easy way to find this?
Thanks.
-
April 18th, 1999, 02:52 PM
#2
Re: Complete Path
GetCurrentDirectory() will tell you where the application's working directory is.
GetModuleFileName() will give the path to the executable you are running, from which you can deduce its directory.
Wasn't sure from your question which of the two
-
May 20th, 1999, 09:43 PM
#3
Re: Complete Path
you can also use __argv[0]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|