Brian Guest
|
Posted: Mon Nov 22, 2004 1:00 am Post subject: TMetafileCanvas and Win 95 GPF |
|
|
Hi,
In the process of creating metafiles using multiple TmetafileCanvas
objects, I have no problems under XP pro, but under Windows 95
I get a GPF. I have tried using different Printer DC's and the screen
DC, but still get the GPF. Depending on which DC I use, the error
occurs on a diffent page, but always the same page for a particular
DC. Note, the canvases have not been freed at this stage, because
I want to write the final page number to all canvases. EG.
"Page 1 of 9999". Using XP pro, I can write thousands of pages,
Using Win95, I get the GPF at (depending on DC), page 33,
page 38, page 85.
The GPF's appear to take the form :
A. "Divide error in module GDI.exe", or
B. "General Protection fault in module GDI.exe"
It always appears to be the first line on a new canvas.
I have tried locking the canvas, but no difference.
TIA,
Brian
|
|