Mahanthi
May 5th, 1999, 02:30 PM
I want to know how to programmatically get hold of the Path of the MFC program i have written. I can get access to the current application name, but i want the entire path of the executable.
What i want to achieve is that, when a user run my application, i want to know the entire path from where the application is being launched. Tried the variable present in the CWinApp class, but not able to get the Path. Tried looking in Win32 API, but still couldn't converge on one if present.
Any suggestions ?
Thanx
Mahanthi
mahanthi@rocketmail.com
What i want to achieve is that, when a user run my application, i want to know the entire path from where the application is being launched. Tried the variable present in the CWinApp class, but not able to get the Path. Tried looking in Win32 API, but still couldn't converge on one if present.
Any suggestions ?
Thanx
Mahanthi
mahanthi@rocketmail.com