If you have declared these functions yourself, rather than using Delphi's built in (out of date) OpenGL headers, then are you using the right calling convention for these functions? (eg. stdcall on Win32)