Click to See Complete Forum and Search --> : Sink Events


Adachi
May 26th, 1999, 03:55 AM
How can I get the events of a COM Object without using MFC nor ATL?

thanks

Adachi

Robert Rolls
May 26th, 1999, 05:35 AM
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.