Outlook 2003 bug

P

PaulK

I have an Outlook Addin written in C++ that retrieves .msg files from
a repository, saves them to disk, and opens them using this code
snippet.

CComPtr<Outlook::_MailItem> mailItem;
m_spApp->CreateItemFromTemplate(bstr_t(*current), vtMissing,
(IDispatch**) &mailItem);
mailItem->Display();


If the message has an attachment and only if it has an attachment it
displays a "Do you want to save changes" dialog even though nothing
with the message has been changed. This dialog does not appear in
Outlook 2000 or 2007. Is there a bug fix I can download or a
configuration change I can make to not have this dialog appear?

Thanks,
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top