I want to pass an MFC class to an ActiveX componet that wants on object. How do I define the MFC class to be a LPDISPATCH that the ActiveX compent requires

Thanks