Hi,

what about the path where the application is started from?
In VC, I assume you have a directory structure like

myproject
debug
release


When the app is started from within VC, its path is myproject.
When you start it from the explorer, I guess, you navigate to the debug directory and start it from there.

Maybe, that helps.

Regards,

Rainer