pouët.net

Go to bottom

opengl32.dll in windows

category: code [glöplog]
 
Hi, is it possible to open opengl32.dll for that sweet 1.1 context within 64bit windows application, or does it require 32bit .exe?
For some reason I didn't realize that I can just check if the .dll is 64bit and it is of course. Sorry about the noise!
If you write a 32-bit application, it will load the 32-bit .dlls from %windir%\SysWOW64.
If you write a 64-bit application, it will load the 64-bit .dlls from %windir%\system32.

Don't be confused by the 32s and 64s, they're red herrings. When Windows transitioned from 32-bit to 64-bit, they didn't want to rename all the DLLs and the system32 directory again (as they did when going from 16 to 32), so they kept the 32 in the names, even though it's in fact 64 now. The true 32-bit stuff goes into the unfortunately-named SysWOW64 directory, which stands for "(32-bit) Windows on Windows 64".
added on the 2025-11-21 10:13:17 by KeyJ KeyJ
Quote:
unfortunately-named

Microsoft are great at naming things, just look at the Xbox line...
added on the 2025-11-21 12:08:17 by absence absence

login

Go to top