The information in this article applies to:
SYMPTOMSDuring the playback of a metafile or printing, the GDI heap fills up and it is not possible to create additional GDI objects. CAUSE
This filling of the GDI heap can be caused by a metafile that does not
contain any DELETEOBJECT metafile records. The GDI objects created during
the metafile playback never get deleted, which fills up the GDI heap. An
application that prints without using banding in Windows version 3.1 causes
a metafile to be created on behalf of the application. The problem listed
above then occurs.
RESOLUTION
Make sure to deselect the object in your metafile DC before calling
DeleteObject() to delete the object.
Q68296 Windows 3.x Metafiles Support DeleteObject() STATUSThis behavior is by design. Additional query words: 3.10
Keywords : kb16bitonly kbSDKWin16 |
Last Reviewed: June 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |