Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I know it isn't the good place but...
Message
 
 
To
17/02/2001 10:22:15
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00476984
Message ID:
00477022
Views:
29
>I've written an OLE automation server with vfp 6 SP3 and my coleague need to access it from his application written in C (not C++).
>Is there a way to do this ?

COM is language-independent, so C will work. Giving step-by-step instructions on how to is a little unwieldy for this forum, but any good COM book like Inside COM will show you how it's done. In a nutshell:
CoInitialize()
CoCreateInstance()
QueryInterface()
Call the method
You don't need C++ for that.
Mike Stewart
Previous
Reply
Map
View

Click here to load this message in the networking platform