Author |
Message |
Psiborg
|
Posted: 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) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Psiborg
|
Posted: Thu Jul 08, 2004 10:41 am Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
Mazer
![](http://compsci.ca/v3/uploads/user_avatars/1323750815476d9f446d80c.png)
|
Posted: Thu Jul 08, 2004 11:07 am Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
Psiborg
|
Posted: Thu Jul 08, 2004 11:43 am Post subject: (No 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 |
|
|
|
|
![](images/spacer.gif) |
|