Hi Piyush,

You have to do the following changes to the CoClass,
Derive from

public IProvideClassInfo2Impl<&CLSID_MyCalss,& __uuidof(_IMyEvents),&LIBID_MYCOMP_Lib>


then add the following macros to the

BEGIN_COM_MAP(CAsyncEventConsumer)
//Add this two macros in to this map
COM_INTERFACE_ENTRY(IProvideClassInfo)
COM_INTERFACE_ENTRY(IProvideClassInfo2)
END_COM_MAP()


Then try, it should work.


Regards
Pradish