Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C or C++ dll
Message
De
17/05/2016 06:11:03
 
 
À
17/05/2016 05:56:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01636486
Message ID:
01636488
Vues:
145
>Assuming i have a C dll.(or a C++).
>this dll in my knowledge cannot be embed on vfp object browser to see its methods/events.its not a classic com dll.
>how can i communicate from vfp with this dll and use all its expected functions.
>-a visual example code can be usefull.
>
>thank you in advance.

You need the method signature as it is used in C or C++ and create declare dll statements accordingly. If the method signature has veeeery complex structs, instead of mapping those into a vfp string, you could create a C vfp fll, which builds the structs and calls out to the dll.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform