Under Visual C++, I have played around with Glut/FreeGlut/GLFW. It seems that everyone of these projects adds a CMD window by default. I tried removing it going under:
Non-console Windows applications use the WinMain()
entry point convention. Your Glut examples probably use the standard C main()
convention.
If you want a quick fix just for the demo app, the WinAPI function FreeConsole()
might help.
MSDN: http://msdn.microsoft.com/en-us/library/ms683150(v=vs.85).aspx