I have a control server
class CMyControl : public COleControl
And a client of that control that is CMyClient.
The client and server are connected using connection points
(Advise/UnAdvise). In my CMyControl I don't want to have more than one Sinks
of my events. Therefore on any new request for Advise, I want to
a. Force UnAdvise of any previous connections to my _DMyControlEvents
b. Accept the new Advise
Has anyone attempted anything like these? Any suggestions. Please help.
Thanks in advance