Extension Pointer

Hi,

Before using glBindBuffer function, I have to use some “ExtensionPointer” function.
How can I declare a function pointer, without rewriting a syntax? Any predeclared typedefs?
Would GLEW do the bindings for me?

yes glew does it all

Can I use it in commercial products?

I guess you can, or declare GL_GLEXT_PROTOTYPES.

What is GL_GLEXT_PROTOTYPES? How to use it?