PRB: Metafiles and Palettes (98268)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.0
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q98268 SYMPTOMS
The metafile list inside of GDI's heap grows by a WORD.
CAUSE
This happens each time an application selects a palette into a metafile
device context (DC).
RESOLUTION
If a palette is never deleted, then this block is never freed and keeps on
growing until GDI's heap fills and the system crashes.
This problem is heightened by the fact that the application typically
selects the default stock palette back in so the application can free its
custom palette. Because an application cannot delete the default stock
palette, this memory is never freed inside of GDI's heap.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kb16bitonly KB98268 |
---|
|