Game Development Community

WinMain

by Howard Dortch · in Torque Game Engine · 05/14/2004 (6:11 am) · 1 replies

After running the demo programs I notice they all have a dos console attached. I looked in the code and found main() Can I just comment this out and jump to WinMain()?

#1
05/14/2004 (6:14 am)
No.

But you can go into your project settings (however you do that with your development environment) and change the entry "/subsystem:console" to "/subsystem:windows" and you will no longer have a DOS box. In VisualStudio 6 its in the project settings -> linker tab.