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:
00339133
Vues:
19
You need to declare the return type and types of each parameter. Forget the SET PROC, you don't use that.

An example would be:

DECLARE INTEGER _fpreset IN msvcrt20 STRING, STRING, INTEGER

I normally put the parameter name after each declaration. If you pass by reference, use the @ before the name.

If you require boolean (logical), use INTEGER.

>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
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform