This is during initialization...
After 10/15 mins / Crash..
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 ?
This is during initialization...
After 10/15 mins / Crash..
The posted images indicate that hsHistSvcInterfaces.dll has been unloaded. That would be the source of your "missing" vptr entries. You need to debug some more to find out why this problem has occurred.
Update:
It also seems wrong that before the dll is unloaded the IUnknown vtable entries point to hsHistSvcInterfaces!DllUnregisterServer instead of to QueryInterface, AddRef and Release.