View Full Version : ChoosePixelFormat bombs out.

Kristian Nilssen
05-03-2001, 01:58 AM
Hi, when I do a ChoosePixelFormat(hDC, &pixelDesc); on my Win95 machine with a really naff http://www.opengl.org/discussion_boards/ubb/frown.gif graphics card I get "First-chance exception in App.exe (GDI32.DLL): 0xC0000005: Access Violation." The routine works fine on my NT4 machine with a groovy http://www.opengl.org/discussion_boards/ubb/cool.gif graphics card. Any ideas? Do I have to update openGL in my 95 machine?

Kristian Nilssen
05-03-2001, 03:26 AM
Found out that the problem was not me, it's microsoft. See MSDN article Q233390 which says that some graphics card drivers cause this fault when debugging in vc++. Gits. http://www.opengl.org/discussion_boards/ubb/mad.gif