Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 is changing my code
Message
From
11/04/2005 23:56:50
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01003589
Message ID:
01003590
Views:
29
Brenda,

1. Upgrade to VFP 6 SP5. This will go a long ways towards eliminating C0005's. Better yet, upgrade to VFP 9 ;)

2. HP Printer Drivers have a terrible reputation. Apparently, some HP printer drivers make calls to the Math Co-Processor but don't seem to clean up after themselves. The following _fpreset() win32 API call is a floating point reset for the workstation's math co-processor.

Try wrapping all your REPORT commands with the following code:

declare _fpreset IN msvcrt20.dll
=_ fpreset()
REPORT FORM ...
= _fpreset()

If you google MSVCRT20.DLL you will find sites that will allow you to download this file if its not already present on your workstation. You can also use a newer version of the MS VC runtime in your declare statement. I can't remember what MS VC runtime ships with VFP 6.

Hope this helps,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Reply
Map
View

Click here to load this message in the networking platform