BUG: First Chance Exceptions When Calling ChoosePixelFormat (233390)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows 95
    • the operating system: Microsoft Windows 98

This article was previously published under Q233390

SYMPTOMS

The following error is displayed in the debug window of Visual C++:
First-chance exception in myapp.exe (GDI32.DLL): 0xC0000005: Access Violation.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

OpenGL applications calling ChoosePixelFormat may encounter Access Violations (AV) during debugging. After calling ChoosePixelFormat, the debug window will display one or more AVs in Gdi32.dll. The number of AVs correlates to the number of pixel formats for the device being used. This is a benign behavior that appears only with some video drivers.

Modification Type:MinorLast Reviewed:4/3/2006
Keywords:kbDSWGDI2003Swept kbbug kbGDI kbOpenGL KB233390