I'm using FreePascal and their OpenGL header files. But I've got it working now - just had to use the glext.pas header file as well.