Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: glut in vc++

  1. #1
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    New Zealand
    Posts
    112

    glut in vc++

    hi there
    i used to use glut with gcc and i typed -mwindows in the complier options and now i am using vc++6 i start with a console application and glut makes the windows but i want to get rid of the dos box thingi
    how do i do this??
    thanx

    [This message has been edited by jono_123 (edited 07-19-2002).]

  2. #2
    Junior Member Regular Contributor
    Join Date
    Apr 2002
    Location
    St. Louis, MO USA
    Posts
    181

    Re: glut in vc++

    I dont think you can get rid of it, but I only used glut for about 2 minutes before I decided it sucked.

    You may want to consider SDL. Go to www.libsdl.org.

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,797

    Re: glut in vc++

    There are a couple of ways to get rid of it. One of them is to add a command-line parameter to the compiler options. This way is documented in the faq. (Check the drop down box with the Quick Links for the faq.)

    Another way is by using the API function FreeConsole.
    Deiussum
    Software Engineer and OpenGL enthusiast

  4. #4
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    New Zealand
    Posts
    112

    Re: glut in vc++

    what header(.h) file is that freeconsole function in?

  5. #5
    Junior Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Holland
    Posts
    184

    Re: glut in vc++

    Originally posted by jono_123:
    what header(.h) file is that freeconsole function in?
    From MSDN Library:
    Header: Declared in Wincon.h; include Windows.h.

  6. #6
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    New Zealand
    Posts
    112

    Re: glut in vc++

    where is there stuff about getting rid of the console in the faq's?
    i can't find it

  7. #7
    Guest

    Re: glut in vc++

    Originally posted by jono_123:
    where is there stuff about getting rid of the console in the faq's?
    i can't find it
    Faqitem: 3.090 How can I make glutMainLoop() return to my calling program?
    At: http://www.opengl.org/developers/faq...t.htm#glot0100

  8. #8
    Guest

    Re: glut in vc++

    Originally posted by jono_123:
    where is there stuff about getting rid of the console in the faq's?
    i can't find it
    Sorry, got that all wrong! My clipboard didn't contain what I thougth.

    Here is the correct one:
    3.100 How do I get rid of the console window in a Windows GLUT application?

  9. #9
    Junior Member Regular Contributor
    Join Date
    Mar 2002
    Location
    New Zealand
    Posts
    112

    Re: glut in vc++

    thank you very much for all your help ppl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •