Product exited without properly closing your Outlook data file
-
Tuesday, January 01, 2013 8:27 AM
Hi,
I created an application wih Extended MAPI for reading attchments from Outlook 2010. Even If I close my application window, it sitting there in the task manager and if kill the process from the task manager, when trying to open any mails in outlook, I am always getting the error "product exited without properly closing your outlook data file".
What needs to be done in my Extended MAPI application to resolve this problem. Please anyone suggest your ideas to resolve this problem.
Thanks.
- Edited by rmgs123 Tuesday, January 01, 2013 8:39 AM
All Replies
-
Tuesday, January 01, 2013 3:55 PM
How do you initialize and uninitialize MAPI?
Do you properly release all MAPI objects? If you pause your app in the debugger, what do you see on the call stack?
Try to comment out most of your code and then bring it back a few lines at a time until the problems comes back.
Dmitry Streblechenko (MVP) http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been
Version 5.4 is now available!
- Marked As Answer by Tom_Xu_WXModerator Tuesday, January 08, 2013 7:00 AM

