Depending on the graphics card in a computer, I want my application to either pick the existing opengl32.dll (located in C:\Windows\System32), or a Mesa\software fallback opengl32.dll. Is it possible to do this at load time, or is this out of my control?
If not, is it possible to execute my own code at all before .dll files are loaded in a windows application (my backup solutions is to simply rename the software .dll file contained in the same dirextory as my executable) ?