Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Suggestion for Visual Studio Setup tutorial  (Read 3293 times)

0 Members and 1 Guest are viewing this topic.

undertech

  • Newbie
  • *
  • Posts: 1
    • View Profile
Suggestion for Visual Studio Setup tutorial
« on: July 28, 2009, 09:41:12 am »
Hi Laurent,

I've noticed that there are some questions here regarding LoadFromFile() not working properly and I'd wager that many of those are from Visual Studio users.
Just in case people are not aware, if you are able to load the files properly by directly running the executable (i.e. double-clicking in Windows Explorer, not by pressing F5 in VS) then the code is probably okay.
If you wish to debug with the VS debugger, then the Working Directory option in Project->Configuration Properties->Debugging needs to be set to the directory with the executable. So in Debug mode this would be Your Project Directory/Debug (probably).
Obviously you'd need to do this after you've built your project at least once successfully, so that the Debug directory actually exists.