View Full Version : console window
03-07-2001, 12:40 PM
Can anyone tell me how to make the "Command Prompt" window disappear if I use
glut with msvc++ 6.0?
check the faq (link on bottom right) www.opengl.org (http://www.opengl.org) ie this site
03-09-2001, 12:00 PM
its been a while since ive used it so have forgoten the capitalisation but one of the above should work.
03-09-2001, 12:11 PM
I tried it out again and it is
stick that anywhere in your initialisation.
Take note that when the programe is run in VC++ that the console window will still be visable. However if you run your exe the console window will disapear.
I think this hase something to do with the
"press any key to continue" at the end of ever console app compiled in VC++
03-09-2001, 12:20 PM
You can also just create a pure Win32 program with GLUT. Here is an example:
int APIENTRY WinMain(HINSTANCE hInstance,
int argc = 1;
// Initialize GLUT
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE);
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.