View Full Version : console window
03-07-2001, 11:40 AM
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, 11:00 AM
its been a while since ive used it so have forgoten the capitalisation but one of the above should work.
03-09-2001, 11:11 AM
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, 11:20 AM
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.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.