Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Creating/using a DLL
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement