Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do i stop C++ from automaically opening a window
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Psiborg




PostPosted: 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)
Sponsor
Sponsor
Sponsor
sponsor
Psiborg




PostPosted: 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.
Mazer




PostPosted: 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.
Psiborg




PostPosted: 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
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: