Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code breaker in VFP8
Message
De
24/09/2003 03:24:27
 
 
À
23/09/2003 10:20:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00831366
Message ID:
00831744
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform