Game Development Community

Solve failed to open main.cs with VC++7.1/2003

by Kon Fun Sandy Lee · in Torque Game Engine · 09/27/2006 (5:33 am) · 1 replies

Copy all the content of vc7 under c:\Torque\SDK including a hidden file "Torque SDK.SUO"(use menu-Tools\folder option check unhide....) and paste under c:\Torque\SDK\example. Double-click and run the file "VC7.cc compiling.reg". Open the file "Torque SDK.SLN" in Visual Studio.net 2003.

In the Visual C++ Solution Explorer, click the "Torque Demo" list item .

And then click the "Build" menu, and select the "Build Torque Demo" command.

Then press Ctrl+F5 or F5 or select the "Debug\ start without Debugging or start".

Torque then starts up a window.

Pls note: pop up the "properties" dialog for the Torque Demo project:

select the "Debugging\Action\Command remain unchanged as " $(TargetPath)" or " c:\Torque\SDK\example\torqueDemo.exe."

Linker\General\Output File remain unchanged as " ../example/torqueDemo.exe."

#1
09/27/2006 (11:48 am)
An easier solution is to change the debug executable directory in the visual studio options.

Also, this shouldn't be in the Public forums. Please use the Private forums for SDK questions and comments.