PDA

View Full Version : wrapping opengl32.dll



Jerry
06-02-2000, 03:44 PM
I'm wondering if anyone know if it's possible to wrap the manufactorers opengl dll.

My card comes with a mini GL driver and I'd like to intercept the gl calls and do some "tampering" just for kicks.

I'm not very familiar with loading/calling dlls from C other than just including the GL header file and linking to the lib to get a couple of small projects I've done to run.

Any comments no matter how breif would be appreciated.

Jerry

lgrosshennig
06-05-2000, 02:01 PM
Hm, not sure if that answers your question, but ...

Make a new DLL what exports all mini GL driver functions. Registers your DLL to be THE OpenGL DLL. Inside your DLL, you eighter call up your gfx card native DLL, or do your own stuff (or both)

Hope that helped you.

Regards,

LG http://www.opengl.org/discussion_boards/ubb/biggrin.gif