Quantcast
Channel: MFCMAPI
Viewing all articles
Browse latest Browse all 1090

New Post: Error : Cannot open your default e-mail folders. the file ..outlook.pst is in use and cannot be accessed.

0
0
I am calling IMAPISession::Logoff().

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]
Can you please let me know in which scenarios Outlook displays the message "Cannot open your default e-mail folders. the file ..outlook.pst is in use and cannot be accessed. ".? I guess you might have access to the Outlook code.

Viewing all articles
Browse latest Browse all 1090

Latest Images

Trending Articles





Latest Images