Can't open main.cs
by William Kirkland · in Torque Game Engine · 10/01/2003 (9:07 pm) · 6 replies
I keep getting this error and I have rebuilt in 20 times. I am using visual C++ standard with the service pack 5. Not sure if this is a bug or I am doing something wrong. I did everything the installation pages said to do....any suggestions?
Here is what it said when I tried to debug:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\winmm.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\wsock32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\ws2help.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\dinput8.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\hid.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
The thread 0xDBC has exited with code 0 (0x0).
The program 'C:\torque\example\torqueDemo_DEBUG.exe' has exited with code 0 (0x0).
Here is what it said when I tried to debug:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\winmm.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\wsock32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\ws2help.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\dinput8.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\hid.dll', no matching symbolic information found.
Loaded 'F:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
The thread 0xDBC has exited with code 0 (0x0).
The program 'C:\torque\example\torqueDemo_DEBUG.exe' has exited with code 0 (0x0).
#2
10/01/2003 (9:18 pm)
Just checked that under the example folder at it there and I opened it up because I saw another post and checked what they said. It was correct for the first 3 lines.
#3
S32 main(S32 argc, const char **argv)
{
winState.appInstance = GetModuleHandle(argv[0]);
return run(argc, argv);
}
the arrow is pointing at the first bracer.
10/01/2003 (9:34 pm)
Just went into step in to see where the problem is here is what it shows:S32 main(S32 argc, const char **argv)
{
winState.appInstance = GetModuleHandle(argv[0]);
return run(argc, argv);
}
the arrow is pointing at the first bracer.
#4
The program 'C:\torque\example\torqueDemo_DEBUG.exe' has exited with code 0 (0x0).
Drive F:
Drive C:
Make sure your .exe is with main.cs (in the same folder AND drive)
?:)
10/01/2003 (9:49 pm)
Loaded 'F:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.The program 'C:\torque\example\torqueDemo_DEBUG.exe' has exited with code 0 (0x0).
Drive F:
Drive C:
Make sure your .exe is with main.cs (in the same folder AND drive)
?:)
#5
- Mark
10/01/2003 (10:08 pm)
Another problem you may be having is that the executable directory may not be properly set in the project debugging options. Make sure it's set to "../example". You can test if this is the problem by launching the app from the explorer.- Mark
#6
If you run the binary using the explorer it should work too.
10/01/2003 (10:53 pm)
Mark's right, Torque can't be executed from another working dir, so you will have to make sure that it's being run from the working dir where the binary is located.If you run the binary using the explorer it should work too.
Torque Owner Ben Swanson