How to debug a shortcut to the application
-
I have a win32 app that is usually never run directly from the exe but rather we create a shortcut to it (on desktop) and run from there. Reason for doing so is that in the shortcut we can spcify the "Start in" folder (which is different from \debug folder where the exe is placed) and the application uses this working folder to store some data. If we directly run the exe, it will assume the current folder (\debug) to be the working folder, which is not OK for my app. Now the problem is, when I start debugging with F5, it runs the exe form \debug folder. How can I set it to run the desktop shortcut rather than the main exe? I am using VS2005.
It's better to know some of the questions than all of the answers.
Pravin. -
I have a win32 app that is usually never run directly from the exe but rather we create a shortcut to it (on desktop) and run from there. Reason for doing so is that in the shortcut we can spcify the "Start in" folder (which is different from \debug folder where the exe is placed) and the application uses this working folder to store some data. If we directly run the exe, it will assume the current folder (\debug) to be the working folder, which is not OK for my app. Now the problem is, when I start debugging with F5, it runs the exe form \debug folder. How can I set it to run the desktop shortcut rather than the main exe? I am using VS2005.
It's better to know some of the questions than all of the answers.
Pravin.in the debugging settings, you can specify the starting folder...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
in the debugging settings, you can specify the starting folder...
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
Thanks for the quick help. I got it working :)
It's better to know some of the questions than all of the answers.
Pravin.