Click to See Complete Forum and Search --> : OpenGl error in Debugger (First-chance exception -> NV4OGL.DLL)


October 17th, 1999, 04:32 AM
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

Feng Yuan
October 17th, 1999, 02:20 PM
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(...) { }