Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF Writer keeps crashing the system
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00452115
Message ID:
00452785
Views:
28
>>I found that if i make back to back calls to dump reports to the PDF driver i would get the blue screen of death. Was using WWPDF and Acrobat driver.
>>
>>I dont remember the exact syntax, but if i was to run two or more REPORT FORM commands back to back thru the driver, i would get the problem. I think it is a timing issue w/ the way PDF files are created and the way it creates temp files and then renames them. The second REPORT FORM was not letting the first one finish its thing.
>
>This sounds like the error often encountered with HP printer drivers; try adding the following code after each REPORT FORM:
>
>DECLARE _fpreset in MSVCRT && only needed once
>=_fpreset()
>
>This resets the state of the FPU and MMX register - some printer drivers do not clean up after themselves, leaving the FPU in an unstable state. This clears the FPU. You should call this after every printer operation.
>
>VFP SP6 addresses this itself.

Thanks for the help Ed

I tried adding the "DECLARE..." stuff after the REPORT FORM command, but to no avail...just keep getting "the blue screen of death". But you know the strange thing is that it actually worked once (perhaps it was only a dream) - maybe I've now corrupted the PDF driver somehow??? But then again, if this was the case, why does it still work with Word/Excel etc...? I dunno - maybe I should just give up on the idea.

Cheers

Chris Kable
Previous
Reply
Map
View

Click here to load this message in the networking platform