VC6 errors.

Hi, I am begining to learn to work with OpenGL, I use Ms VC6. Last 2 days I can not move forward becose of some errors:Creating temporary file “C:\WINDOWS\TEMP\RSPD251.TMP” with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D “WIN32” /D “_DEBUG” /D “_WINDOWS” /D “_MBCS” /Fp"Debug/Test3.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
“C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp”
]
Creating command line “cl.exe @C:\WINDOWS\TEMP\RSPD251.TMP”
Output Window
Compiling…
Main.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp(17) : error C2501: ‘Glvoid’ : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp(34) : warning C4508: ‘GLResizeGLScene’ : function should return a value; ‘void’ return type assumed
C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp(37) : error C2447: missing function header (old-style formal list?)
C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp(52) : error C2447: missing function header (old-style formal list?)
C:\Program Files\Microsoft Visual Studio\MyProjects\Test3\Main.cpp(70) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Results
Main.obj - 4 error(s), 1 warning(s)

Can you teach me how to prevent these errors?
Thank you
Erik

The compiler tells you here, that Glvoid is unknown… thats ok, because its not present in the ogl library.

Kilam.

Small typing errors with large effects:
write GLvoid or just void