L
Leonjl
Guest
I cannot retrieve my COM object that I have registered. By debugging, I found something strange in AtlComModuleGetClassObject().
"
atlbase.inl: AtlComModuleGetClassObject(_ATL_COM_MODULE* pComModule, REFCLSID rclsid, REFIID riid, LPVOID* ppv)
for (_ATL_OBJMAP_ENTRY** ppEntry = pComModule->m_ppAutoObjMapFirst; ppEntry < pComModule->m_ppAutoObjMapLast; ppEntry++)
{}
"
The parameter pComModule is not NULL initially. However, it becomes NULL in the FOR statement and make it a dead loop to throw OutOfMemoryException.
I have checked that the optimization is turned off for both server and client.
Any idea?
Thanks
Leon
Continue reading...
"
atlbase.inl: AtlComModuleGetClassObject(_ATL_COM_MODULE* pComModule, REFCLSID rclsid, REFIID riid, LPVOID* ppv)
for (_ATL_OBJMAP_ENTRY** ppEntry = pComModule->m_ppAutoObjMapFirst; ppEntry < pComModule->m_ppAutoObjMapLast; ppEntry++)
{}
"
The parameter pComModule is not NULL initially. However, it becomes NULL in the FOR statement and make it a dead loop to throw OutOfMemoryException.
I have checked that the optimization is turned off for both server and client.
Any idea?
Thanks
Leon
Continue reading...