Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating/using a DLL
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Creating/using a DLL
Miscellaneous
Thread ID:
00312591
Message ID:
00312591
Views:
73
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
Next
Reply
Map
View

Click here to load this message in the networking platform