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:
Under the linker options, set your entry point to mainCRTStartup . This function does the necessary setup of the MS libc and then calls main.