
-----------------------------------
Psiborg
Thu Jul 08, 2004 10:37 am

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)

-----------------------------------
Psiborg
Thu Jul 08, 2004 10:41 am


-----------------------------------
Sorry i forgot to mention that it is annoying because GLUT opens a window as well, so i am getting 2 windows popping up.

-----------------------------------
Mazer
Thu Jul 08, 2004 11:07 am


-----------------------------------
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.

-----------------------------------
Psiborg
Thu Jul 08, 2004 11:43 am


-----------------------------------
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
