two part question so bear with me. I'm trying to learn connection points and none of the books I've picked up have explained it very well imo.
I have an object with a dual interface callback in a dll. I need to be able to implement this interface (sink?) in both an MFC application as well as a pure ATL COM exe.
my callback interface is "_CTEvents" and it has one callback method test(VARIANT nVal).
I need to know step by step how to go about implementing this callback in both the mfc client and the pure atl exe. Including how I connect and disconnect the interface (advise?). Please include as much example code as possible and walk me through this step by step. Links to articles giving me further information on this subject would be helpful also.