Jump to content


Visual Studio command prompt


1 reply to this topic

#1 rego

    Member

  • Members
  • PipPip
  • 46 posts

Posted 16 April 2006 - 06:20 PM

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!

#2 rego

    Member

  • Members
  • PipPip
  • 46 posts

Posted 16 April 2006 - 06:38 PM

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!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users