Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call to an external DLL
Message
De
22/10/2002 14:36:54
 
 
À
22/10/2002 14:31:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00714000
Message ID:
00714008
Vues:
27
>I am trying to make a call to a function within a dll from VFP 6.0. The dll is written in C++. The function returns an integer value flagging whether the function executed successfully or not: 0 for success and non zero for failure. If executed successfully then one of the arguments contains the result set that I need to use. How do I access that value??
>
>I am calling the function the following way:
>
>DECLARE STRING v_o_d IN "RLPOLK.DLL" STRING, STRING
>x = v_o_d(outvin, options)
>
>According to the documentation "x" is an integer returned by the function. O is returned on success. Actual data is returned in the "options" argument. But from VFP 6.0 when I print the value of options I get nothing. Please shed some light in this area.

Maybe try
x=v_o_d(outvin, @options)
Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform