Event Sink using C++ without MFC/ATL
COM
1
Posts
1
Posters
0
Views
1
Watching
-
I need to use a COM object which needs an IDispatch-based event sink. I've only found code for doing this using MFC or ATL. Can someone help me out on how to do this through only C++? I just need to know how to create the event sink class that I will implement in my application. Do I create a class based on IDispatch using DECLARE_INTERFACE and STDMETHOD ... PURE macros? If so, how do I instantiate this class since it has pure virtual members?