Without:
- ATL
- MFC
Note:
- Client is executing in a different thread to that of the server
Question:
- How do I control the behaviour of the client, once an event notification is received from the COM object (Server)?
- How to implement an event interface from client?
Illustration below:
hresult = pis8->QueryInterface(
__uuidof(IConnectionPointContainer),
(void **) &pContainer);
//result handling omitted
hresult = pContainer->FindConnectionPoint(
__uuidof(IS8SimulationEvents),
&pConnection);
//result handling omitted