BUG: Resource Leak with 256 Color Bitmap/UseZOrder PaletteMode
Article ID: 192050
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q192050
SYMPTOMS
You may see a loss of System and GDI resources when repeatedly loading a
picture if the Form's PaletteMode is set to UseZOrder and the Windows
system display color settings are set to 256 colors. Because of the
differences in the way that Windows 95/98 and Window NT manage memory, the
consequences of this problem may be more apparent on a computer running
Windows 95/98 than on a computer running Windows NT/2000.
RESOLUTION
Set the PaletteMode property of the form to a setting other than UseZOrder.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Keywords: kbbug kbbitmap kbpending KB192050