Setting up OpenGL

This is the first time I have ever used OpenGl, and I cant get my compiler to work with it (visual c++ 6). I have linked the libraries, and added the necessary paths to the directories where the libs and include files are located, but I get the following error when I try to compile the program:
--------------------Configuration: OpenGLBasic - Win32 Debug--------------------
Linking…
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/OpenGLBasic.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

OpenGLBasic.exe - 2 error(s), 0 warning(s)

Thanks.

you have made a win32 app, the entry point is a WinMain(…) function. Instead you have a void main() function which is used for console applications. Either change the entry point or change your main function into a WinMain function