   OpenGL Extensions
  Hi all,I'm trying to add references to pointers corresponding to OpenGL extensions.I have an header file such as:extern PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB;extern PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB;extern PFNGLMULTITEXCOORD3FARBPROC glMultiTexCoord3fARB;extern PFNGLMULTITEXCOORD4FARBPROC glMultiTexCoord4fARB;extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;extern PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB;extern PFNGLSECONDARYCOLOR3FEXTPROC glSecondaryColor3fEXT;extern PFNGLSECONDARYCOLOR3FVEXTPROC glSecondaryColor3fvEXT;and a cpp file:glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC) wglGetProcAddress("glMultiTexCoord1fARB");glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC) wglGetProcAddress("glMultiTexCoord2fARB");glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC) wglGetProcAddress("glMultiTexCoord3fARB");glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC) wglGetProcAddress("glMultiTexCoord4fARB");glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC) wglGetProcAddress("glActiveTextureARB");glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC) wglGetProcAddress("glClientActiveTextureARB");glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC) wglGetProcAddress("glSecondaryColor3fEXT");glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC) wglGetProcAddress("glSecondaryColor3fvEXT");I get the following errors regarding the last two declarations in the header file:error C2146: syntax error : missing ';' before identifier 'glSecondaryColor3fEXT'error C4430: missing type specifier - int assumed. Note: C++ does not support default-interror C4430: missing type specifier - int assumed. Note: C++ does not support default-interror C2146: syntax error : missing ';' before identifier 'glSecondaryColor3fvEXT'error C4430: missing type specifier - int assumed. Note: C++ does not support default-interror C4430: missing type specifier - int assumed. Note: C++ does not support default-intWhat does it mean? Why do the other definitions work?I think I've included all the necessary references: gl.h, glext.h, opengl32.lib glu32.lib glaux.lib...Thanks for any hint.   
  It would make your life considerably simpler, if rather than re-inventing the wheel, you used a well tested extension loading library, such as GLee or GLEW.   