Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring dlls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00339128
Message ID:
00339150
Vues:
18
>I am trying to use the following dll (in development area of FoxPro).
>
>I issue the following commands in my (set) environment program file, but FoxPro doesn't like it. Can anyone tell me how to declare this library?
>
>
>DECLARE _fpreset IN msvcrt20.dll
>SET PROCEDURE TO msvcrt20.dll

Shawn,

Simply:

DECLARE _fpreset IN msvcrt20.dll

will be sufficient. The function takes no parameters and does not return a value. If you're using this to deal with problems related to HP printer drivers leaving the FPU in the wrong state (as far was whether the driver or calling application catches an error), look at MS KB article Q183522. It gives the full details.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform