|
-
April 12th, 2001, 06:52 AM
#1
Accessing VB COM object from Vicual C++
Hi, I wonder if anyone can help.
I have created a COM object in the form of a dll using VB6.
I would like to know how I can access this COM object in C++. I would usually use CoCreateInstance but that requires my C++ code to have knowledge of the interfaces supported by my VB COM object. I usually use the .H file containing the interfaces and IIDs (so I can declare a pointer to my interface, eg, KCPInterface* myInterfacePtr - then pass this to CoCreateInstance. I hope the above makes sense, thanks in advance for any help, I'm stuck on this one!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|