Computer Science Canada How do i stop C++ from automaically opening a window |
Author: | Psiborg [ Thu Jul 08, 2004 10:37 am ] |
Post subject: | How do i stop C++ from automaically opening a window |
Im using OpenGL and whenever I run my programs Visual C++ always opens up a new window. Does anyone know how I can stop this? (It is just that is is getting annoying) |
Author: | Psiborg [ Thu Jul 08, 2004 10:41 am ] |
Post subject: | |
Sorry i forgot to mention that it is annoying because GLUT opens a window as well, so i am getting 2 windows popping up. |
Author: | Mazer [ Thu Jul 08, 2004 11:07 am ] |
Post subject: | |
Are you talking about the console window? If that's it, then choose Win32 Application instead of Win32 Console Application when you are making the project. That should do it I think. |
Author: | Psiborg [ Thu Jul 08, 2004 11:43 am ] |
Post subject: | |
UMM it gives me the following errors when i do it that way: LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/Simple Polygon.exe : fatal error LNK1120: 1 unresolved externals |