Creating a wrapper for opengl32.dll

Does anyone have a sample project or tutorial for creating a customized opengl32.dll? I’d like to define custom behavior for certain functions, but I need to do more than what hooks provide.

I have written DLLs before, but never one to proxy another. I’m using VC++ 6. Any help would be much appreciated.

Thank you,


Ask google for GLIntercept project.

If you just want to do some quick hacks, I would probably base it on GLTrace as the code is much simplier.

Also note that you can write plugins for GLIntercept to over-ride behaviour. -see the extension override plugin.

Thanks guys, both these tools are great! I was able to get started on my own version pretty quickly.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.