How can I get the events of a COM Object without using MFC nor ATL?
thanks
Adachi
Printable View
How can I get the events of a COM Object without using MFC nor ATL?
thanks
Adachi
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.