Com within an ATL COM
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Com within an ATL COM

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    2

    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

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,978

    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 11:39 AM.
    Best regards,
    Igor

  3. #3
    Join Date
    Nov 2012
    Posts
    2

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center