BUG: A GDI leak occurs when you print a report with a 256-color bitmap and with SET PALETTE OFF in Visual FoxPro for Windows (232660)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q232660 SYMPTOMS
You are printing a report that contains a bitmap or bitmaps using the REPORT FORM command under Windows 95 or Windows 98. If the bitmap resolution is 256-colors or greater and the SET PALETTE setting is OFF, repeated printing of the report results in a leak in GDI resources. If the printing continues for enough iterations (500 to 1000), you might see one or both of the following error messages:
Low Resources
Ninety percent or more of your system resources are in use. To free up system resources, quit any programs that you are not using. If you do not, your computer may stop responding.
[OK]
- or -
Program Error
Printer is not ready.
RESOLUTION
As a workaround, you can try the following:
- Use the SET PALETTE ON setting within your program. This is the default setting.
- Perform the printing on Windows NT rather than Windows 95 or Windows 98 computers.
- Use a bitmap with a resolution of 16-color or monochrome rather than 256-color or 24-bit.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 2/17/2005 |
---|
Keywords: | kbBug kbpending kbReportWriter KB232660 |
---|
|