Original Post
It has occured to me the following problem. The extension GL_EXT_point_parameters is supported by my system.But when I keep the return address of wglGetProcAddress("glPointParameterEXT")at a global scope variable,I take compliler errors like this: missing type specifier - int assumed. Note: C++ does not support default-int glPointParameterEXT' : redefinition; different type modifiers initializing' : cannot convert from 'PFNGLPOINTPARAMETERFEXTPROC' to 'int I have made it work but only when I return the address within a function. like void FunctionName() { glPointParameterEXT = (PFNGLPOINTPARAMETERFEXTPROC) wglGetProcAddress("glPointParameterEXT"); } so, how can I use the extension functions directly?