Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a VB6 function in VFP
Message
De
28/07/2004 09:42:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Calling a VB6 function in VFP
Divers
Thread ID:
00928678
Message ID:
00928678
Vues:
79
Hi,

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?

TIA,

Fernando
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform