PDA

View Full Version : "(GDI32.DLL): Access Violation" ???



Jonas Vago
09-27-2000, 03:38 AM
Sometimes when I run my OpenGL app (win32), I get this line from the 'Debug' window

First-chance exception in Game.exe (GDI32.DLL): 0xC0000005: Access Violation.

This is repeated 8000 times!
And this is not good for performance.
What have GDI32 any thing to do with OpenGL?
Is it the SwapBuffers(hDC) call?

I use RIVA TNT2 Ultra as a graphic hardware.
OpenGL detects it itself. How can I enumerate my devices, and choose for my self, using OpenGL API?