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

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?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform