-
November 5th, 2012, 12:28 PM
#1
Com within an ATL COM
Hi,
Im very new to C++ but have written an ATL COM prog in VS6. I now want to use the properties, methods and events of another COM dll from within my new COM dll. How do I do this. Are there any code examples?
Thanks
Andrew
-
November 5th, 2012, 12:36 PM
#2
Re: Com within an ATL COM
You use the other COM server regular way: create server instance, get interface, bind to connection points, etc. What you need is tutorials of COM clients in C++.
BTW, ATL has very handy smartpointers like CComPtr, CComQIPtr.
Last edited by Igor Vartanov; November 5th, 2012 at 12:39 PM.
Best regards,
Igor
-
November 6th, 2012, 04:34 AM
#3
Re: Com within an ATL COM
ok, thanks.. i will look for some if I use the COM in the regular way,
Andrew
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
|