If your using VC++, this was sent to me and it was right on target!!
Thanks again Mark and JDM!!!
:|> I really love the functionality provided by the GLut library but I
:|> use it under NT without the dos window spawning the graphics window.
:|> this just the price I have to pay due to it's cross-platform
:|> Or is there a way that I can open just a single main window, amybe
:|> fullscreen (no, not for a game :) ) and still use GLut?
:Yes. Instead of compiling your app as a "Console" app,
:compile the app as a normal Windows app. This requires
:writing a "WinMain" instead of a "main" routine and faking
:an empty argc/argv to pass to glutInit.
you don't need WinMain; the following (MSVC) compiler flags will do the
> Hi there.
> Whenever I write an app for Windows NT in OpenGL using GLUT, I get a
> viewing window(sometimes ;-) and another MS-DOS window in the
> background. Sometimes this MS-DOS window is given priority over the GL
> window, and blocks it until I click on the GL Window.
> In a nutshell, can someone tell me how to close that console window
> without closing the program.
> Thanks for your time.
> Nick Anderson