connection-points

How to check if a container supports multiple connections?

Implemented the Sink Class - to receive event notifications from COM Server Event Interface derives from IDispatch I have an issue whereby an IConnectionPoint::Advise call returns E_NOTIMPL. This could be because the connection point only allows one connection - MSDN. Note: COM Server is out-of-process Pure C++ implementation EDI...

Unable to get ATL Connection Points working...

I am trying to create a COM component using ATL, and I'd like to raise events for my VB client. I've found numerous tutorials, all of which seem to vary in details, and none of them appear to generate a working solution. Here is what I am doing: (Using Visual Studio 2008): Create a new ATL DLL Project. I've called it ATLEventTest. C...

Create a new connection point in VC++ 6?

I have an ATL/COM project, in VC++ 6. I want an existing class, that has never before been defined to raise events, to raise events. To do this, the class will have to implement a "connection point". These events are of a type that no class has ever raised before, so I will have to create a new connection point, rather than reuse an...

regenerating connection point methods

I've created a connection point interface _IPlayerEvents. I've added a couple of methods OnConnect() OnDisconnect() I've built the project, and VS2008 has generated code in the CProxy_IPlayerEvents class: HRESULT Fire_OnConnect(){...} HRESULT Fire_OnDisconnect() {...} Now I've added a further method to the _IPlayerEvents interface...