   GLUT Example
  I am using GLUT with OpenGL and everything is working, but every time I start the application, a console window opens, then my GLUT program starts.  Is there a way to make it where the console window doesn't open up, just the GLUT application?   
  I think this has nothing to do with glut, but rather your project settings. If you change your project from a console project to a Win32 you'll get rid of the console, but you have to change your main entry point as well. I don't recall how exactly to do this in VS on top of my head, but a search for "change project win32 console" should put you on the right track.   ;  Ok, thanks.  Let me look.   ;  Well, I started out with some example code that needed a console app.  Do you know any Win32 GLUT code that doesn't need console app?   ;  I found the answer at http://answers.yahoo.com/question/index?qid=20081029081028AAnGwqn#include <windows.h>Call FreeConsole() at the beginning of main() so that the console opens and then closes before the main window is launched.   ;  Another solution:In your project's property pages, under "Linker>Command Line" put this in additional options: "/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup"   