April 18th, 1999, 11:12 AM
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.
application began. Is there an easy way to find this?
Thanks.
|
Click to See Complete Forum and Search --> : Complete Path April 18th, 1999, 11:12 AM 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. Roger Osborn April 18th, 1999, 02:52 PM 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 Paul Burns May 20th, 1999, 09:43 PM you can also use __argv[0] codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |