I have one project where I am creating one COM component. I am trying to get pointer to interface which is derived from IUnknown and After 10/15 mins of getting pointer to interface, Base interface (Iunknown ) Vptr memory locations are getting lost/
class ATL_NO_VTABLE CIndustrial_IT_HistoryHandler :
public CClientHelper,
public CComCoClass<CIndustrial_IT_HistoryHandler, &CLSID_Industrial_IT_HistoryHandler>,
public IIndustrial_IT_HistoryHandler,
public IConnectionPointContainerImpl<CIndustrial_IT_HistoryHandler>,
public CProxy_IIndustrial_IT_HistoryHandlerEvents<CIndustrial_IT_HistoryHandler>
{
.....
}
I am trying to get pointer to IIndustrial_IT_HistoryHandler which is derived from IUnknown . After 10/15 mins Iunknown vptr memory locations, means vptr[0], vptr[1], vptr[2] memory locations are getting lost
Can anybody please suggest How can I track in runtime how is it getting lost ?


