PDA

View Full Version : MS-DOS window



d_master_x
06-02-2005, 03:18 AM
Hello, I'm new to OpenGL and I was wondering, when I run a program written in openGL, is there a way to get rid of the MS-DOS window in the background (I have windows 2000)?

Thank you for answering,
The Master, may the code be with you

Ehsan Kamrani
06-02-2005, 03:41 AM
It seems that you are using from the *win32 consol application*s.Isn't it?This projects originaly refer to the MS DOS .GLUT isn't a good way to manage the window and interact with the mouse, keyborad, etc. Try to use from the *win32 application* or *MFC* projects.--Are you using from the VC++6.0 compiler?
-Ehsan-

powerpad
06-02-2005, 04:10 AM
take a look at nehe.gamedev.net

the first tutorial explaines how to create a window that is capable of opengl rendering via win32 means.

follow that tutorial (or get the basecode) and you will get rid of that msdos box (if you are willing to leave glut)

d_master_x
06-02-2005, 07:24 PM
Thank you very much. And to answer Ehsan's question, I use Bloodshed Dev-C++. A great compiler ;)

The Master, may the code be with you