CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Sink Events

  1. #1
    Join Date
    May 1999
    Posts
    26

    Sink Events

    How can I get the events of a COM Object without using MFC nor ATL?

    thanks

    Adachi


  2. #2
    Join Date
    May 1999
    Posts
    30

    Re: Sink Events

    You could simply look at how MFC hooks up the notification sink this is raw COM sdk calls such as QI IConnectionPointContainer, IProvideClassInfo2 etc.. on the advise call you simply need to pass it an IDispatch pointer the object that will be handling the calls.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured