OpenGl error in Debugger (First-chance exception -> NV4OGL.DLL)
When I run my OpenGL programs (all of them) in the debugger I get the
following error message and the program crashes:
"First-chance exception in MyApp.exe (NV4OGL.DLL): 0xC000001D: Illegal Instruction."
Does anyone know the reason and maybe the solution?
Thanks,
ZS
Re: OpenGl error in Debugger (First-chance exception -> NV4OGL.DLL)
Sure. A bug is the NV OpenGL driver code. Break into debugger to see where it GPFs, most importantly which part of your program calls it. Can you avoid it? It the call critical to the program?
To solve it, if the call is not critical, put an exception handling on the calling code.
try { glxxx(); } catch(...) { }