Could not find entry point to DLL "opengl32.dll" in splash screen

I have a very strange problem with my C # OpenTK splash screen. When I compile a program and run it before changing the extension as an EXE file, it works correctly. But when I change the extension to SCR and run it, it crashes due to a System.EntryPointNotFound exception (in this case, the glCreateProgram function). In the debugger, I checked this at startup:

as an EXE file: GL.GetString (StringName.Vendor) β†’ "Intel" GL.GetString (StringName.Version) β†’ "2.1.0 - Build 8.15.10.2622"

as a SCR file: GL.GetString (StringName.Vendor) β†’ "Microsoft" GL.GetString (StringName.Version) β†’ "1.1.0"

In my application, I use the parameterless constructor of the GameWindow class to create an OpenGL context. For a little experiment, I changed the extension to BAT and it works fine. I have no idea why my OpenGL context depends on the file extension, I assume that the screensavers are executed by the system on some kind of overlay, but I really could not find a solution to this problem.

Any ideas?

+4
source share
1 answer

Finally, after a long search, I found out that Intel is blocking hardware support for the screensaver using OpenGL. I changed the extension to "sCr" to trick the driver, and now everything works fine.

Link: opengl.org forum

+1
source

Source: https://habr.com/ru/post/1403314/


All Articles