c++ Debugging
by RollerJesus · in Torque 2D Beginner · 12/13/2015 (6:35 pm) · 2 replies
When I start my application from Visual Studio, the app runs through the winWindow.ccs\S32 PASCAL WinMain function then exits.
When I start the app in the output folder, it runs the game.
Is this occurring because Visual Studio runs the app *before* copying it into the output directory so it doesn't find any modules?
Any way around the issue?
When I start the app in the output folder, it runs the game.
Is this occurring because Visual Studio runs the app *before* copying it into the output directory so it doesn't find any modules?
Any way around the issue?
Associate Chris Haigler
Jester Dance
In VS, right click the Torque2D project and click Properties. Under the Configuration Properties -> Debugging section you'll see Working Directory. This needs to be changed to $(OutputPath) I believe.