That seems to be a common problem. People either try to use Glut in a main() function in a project that tries to look for WinMain as the entry point, or they create a project that uses main() as the entry point and try to create the OGL Window using Win32 code in a WinMain.
If you are using VC++, you need to start your project as a Win32 Application if you want to use a WinMain()… if you want to use a main() (usually for use with Glut) you need to start your project as a Win32 Console Application. If you want to use MFC, well then start it as an MFC app.