I need to pass an C++ Class Object to an ActiveX ScriptControl.AddObject that wants an Object. The C++ compiler said I need an struct IDispatch. The MFC interface code is looking for an LPDISPATCH pointer. I searched on LPDISPATCH but found very little.

Thanks for you help.