Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro error C000008E
Message
From
06/11/2002 08:17:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00718901
Message ID:
00719245
Views:
16
Hi

Thanks for reply

I found a work around in internet and you are right. Usually FoxPro set the coprocessor to handle exceptions but sometime other driver change the setting. I found that code to reset the coprocessor:

DECLARE _FPRESET IN MSVCRT20.DLL

= _FPRESET()

? 1/0 is working now

So if we put that code in each main this must work I think (I will try today) but I would like to be able to do this without changing each main. So I will make some research today to find if there is a way to make fox change this automatically or to make some change in NT to allways the coprocessor to handle exceptions

Michel


>>We have a workstation (IBM netvista 1.8) who make lot of calculation using hundred of program. Since two day we have an error C000008E this is a division by zero. This computer is running under NT 4 pack 6.
>
>Print driver? Some print drivers fiddle with the FPU, changing error handling from hardware to software. VFP assumes no one has changed the FPU error handling, so when a math error comes down the pipe, VFP crashes. Try changing the drivers from the ones that came with the printer to the ones that come with Windows.
Previous
Reply
Map
View

Click here to load this message in the networking platform