I am calling IMAPISession::Logoff().
I did following minor code change which seemed to have solved this issue.
I did following minor code change which seemed to have solved this issue.
-
Earlier I used to release the m_lpMsgStore just before the application termination, instead I changed this implementation so that I release m_lpMsgStore at the earliest[i.e in the above case I called UlRelease(m_lpMsgStore) immediately after m_lpMsgStore->OpenEntry]