flat assembler
Message board for the users of flat assembler.
Index
> Windows > Can't GetModuleHandleA OPENGL32.DLL [solved, thanks] |
Author |
|
vivik 17 Dec 2016, 10:43
Hello. I have this weird problem, KERNEL32.DLL and USER32.DLL are loading properly, but with OPENGL32.DLL I'm getting ERROR_MOD_NOT_FOUND (0000007E).
Opengl works from normal executables, but not if I try to GetModuleHandle it. It doesn't load opengl32.dll, opengl.dll, OPENGL.DLL either. Here is a little program to check if it works from your computer. (compiled version in attachment). Please check it. Code: include 'win32ax.inc' .code start: invoke GetModuleHandleA, "OPENGL32.DLL" test eax,eax jz fail success111: invoke MessageBox,0,"SUCCESS!!! IT WORKS!!","YES!",0 jmp exit fail: invoke MessageBox,0,"nope, returned zero","error",0 exit: invoke ExitProcess,0 .end start
Last edited by vivik on 17 Dec 2016, 11:39; edited 1 time in total |
|||||||||||
17 Dec 2016, 10:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.