Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL written in VB for VFP use problem
Message
 
À
10/02/2003 03:48:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00751315
Message ID:
00751325
Vues:
18
Hello,

>I am compiling an DLL written using VB6 for VFP6 use.
>My VFP6 application just need to call a few function,
>but insteads it give 'cannot find entry point in xxx.dll' error
>message when I call the function in the DLL. what is wrong, please
>advise.

Only COM Dlls can be created in VB. So you cannot declare functions in VB Dll. You need to create an instance of class in your Dll and call method of this class:
MyObj = CreateObject("MyDll.MyClass")
MyObj.MyFunction()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform