PDA

View Full Version : Visual Studio command prompt


rego
04-16-2006, 11:20 AM
Hi all,

When running an OpenGL program in Visual Studio, the cmd prompt always appears behind the OpenGL window. I believe this also occurs in Dev C++ if my memory serves me correctly!

Is there a way to disable this? or does this just appear because im using GLUT?

Would be grateful for any help!

Many Thanks!

rego
04-16-2006, 11:38 AM
Figured it out... here goes:

Go to:

Project -> ...Properties -> Command Line and in Additional Options: type the following "/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup"

this disables the prompt! :)

easy as that!

cheers anyway!