Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code breaker in VFP8
Message
From
24/09/2003 03:24:27
 
 
To
23/09/2003 10:20:18
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00831366
Message ID:
00831744
Views:
22
Hi,

>
Foud the problem. In a dll we used GetSystemDirectory to store that path. For a oneknown reason it was after calling that dll, where we used that code, that a division by 0 generated a exception. We move the code out of the dll and used a WINAPI directly and the problem was solved.
>

VFP sets the numeric co-processor to handle divide by zero exceptions. Looks like the DLL was changing this setting (and not re-setting it). You could try the following after the DLL call :
DECLARE _fpreset IN msvcrt20.dll
= _fpreset()
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform