How to dectect if a application render using OpenGL?

We have a application and we don’t known if it use opengl to render. How can we detect using opengl function or other methods?

Well … if you just want to check one app once you could rename the OpenGL32.dll file to whatever you like, run the app and see if it says something like “Couldn’t find OpenGL32.dll” … and then rename it back …

is the application made by you or is a third-party? i can’t understand…

if the code is yours, try glGetString(GL_RENDERER)

humus:
only if the app uses the GDI implementation.
you should look into the registry here:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\OpenGLDrivers]
and see what driver it is currently registered, then rename this.

Dolo//\ightY

[This message has been edited by dmy (edited 04-27-2000).]