Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating/using a DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00312591
Message ID:
00312930
Vues:
29
Bryan,

There's two examples over on my website if you want to create the stub DLL using VC++. Assuming you need a C-style API DLL and not a COM object.

>I'm working on a VFP app that will be using a DLL (created with VC++) supplied by a business partner. Until the partner's DLL is ready, we want to package our app using a VFP DLL that provides (basically) the same functionality. Both DLLs have the same interface, so integration will be seamless. Our goal is to have generic code within the app to call the DLL, and when our partner's component is ready, simply drop it in and not have to redistribute the app.
>
>My understanding is that before calling a VC++ DLL, I need to use the DECLARE - DLL command. However, can I declare a VFP DLL in the same manner or must I use the CreateObject() method (as the Help states)? Likewise, could I use the CreateObject() method to instantiate the VC++ DLL?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform