ATLASSUME(m_bInitialized) Gives Assert in atlcore.h After Porting from VC6.0 to VC8
Hello,
I have ported a OPC server application from VC6 to VC8 and after fixing complication and linking I was able to run the same. But while testing the OPCServer Interface i have come across a issue where I get Assert dialog for the ATLASSUME macro. The location details are below.
ATLASSUME(m_bInitialized); in atlcore.h inside the functionHRESULT Lock() at Line no 182.
From the documentation in function HRESULT Locak() I undestand that one has to callCComObjectRootEx::_AtlInitialConstruct, but from where should i call this ? I ahve no idea.
Can anyone help me to resolve this issue.
Thanks and Regards
kedar patki

