Posted 10 April 2013 - 07:49 PM
That is because the working directory is different when you run from the debugger (it goes to the path of the solution).
You have 2 options:
1: Change the debugger settings to set the working directory to be the same as the executable‘s directory and then move all of your resources respectively.
2: Force the working directory for your executable to be that of the executable’s at run-time via SetCurrentDirectory() and then move all of your resources respectively.
Edited by L. Spiro, 10 April 2013 - 07:49 PM.
It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums