I have a access violation at the exit of my MFC based VS 2005 C++ application. It uses MFC as a shared library and multibyte char set options. The call stack reveals the functions like
CAfxStringMgr::Free(ATL::CStringData * pData=0x00e07c47) Line 154 + 0x9 bytes C++ __crtExitProcess doexit() exit() __tmainCRTStartup() WinMainCRTStartup()
How to resolve this?
You could try to use the ATL/MFC Trace Tool to diagnose the problem.