OpenGL run-time dynamic linking library released for Win32 platform

Hi All,

I’ve just released the gl_driver library on my website.

This library is used to load any GL and GLU DLLs at runtime. The gl_driver library uses run-time dynamic linking to the OpenGL DLLs. This means that the client application no longer needs to link to the import libraries for the OpenGL DLLs (i.e., opengl32.lib and glu32.lib).

The gl_driver library supports OpenGL 1.1 to OpenGL 2.0 inclusive, and GLU 1.2 to GLU 1.3 inclusive.

The gl_driver library is small and consists of only 2 files: gl_driver.h and gl_driver.c. Also included is a small test application (main.cpp) that illustrates how easy it is to incorporate the gl_driver library into any existing OpenGL application.

Since this library deals specifically with the loading of DLLs it is limited to the Win32 platform. However the library should be easy to
port to other platforms.

You can find the source code here:
You can find it in the source section under the heading “OpenGL run-time dynamic linking library.”


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