Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a VB6 function in VFP
Message
 
 
À
28/07/2004 09:42:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00928678
Message ID:
00928690
Vues:
28
AFAIK, VB6 can create COM dll's only.


>
>People told me to call a function contained in a DLL (to be) written in VB6.
>
>The VB6 function (FunctionToExecute) will be contained in a .dll file (VB6DLL.dll). It will accept one string parameter (pStringParameter) and will return a string value (cReturnedStringValue).
>
>My test program is:
>
> Declare String FunctionToExecute In VB6DLL String pStringParameter
>
> cStringParameter = "any string"
>
> cReturnedStringValue = FunctionToExecute (cStringParameter)
>
>
>How should that VB6 function be written? Is my test program (above) written accordingly with the function specifications as I presented?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform