PRB: MessageBox() after MAPIUninitialize Causes Access Violation (243066)



The information in this article applies to:

  • Microsoft Extended Messaging Application Programming Interface (MAPI)
  • Microsoft Exchange Server 5.5 SP2
  • Microsoft Exchange Server 5.5 SP3

This article was previously published under Q243066

SYMPTOMS

With Mapi32.dll version 5.5.2448.0(SP2) and 5.5.2650.12(SP3), if you log on to an offline profile with a MAPI_NO_MAIL flag and select "Work Offline", after MAPIUninitialize() call, MessageBox function stops with an access violation.

RESOLUTION

To resolve this problem, obtain the latest service pack for Exchange Server 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

191014 XGEN: How to Obtain the latest Exchange Server 5.5 Service Pack

To work around this problem:
  • Remove the MAPI_NO_MAIL flag.
  • Call MessageBox function right before MAPIUninitialize().

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Exchange Server 5.5 Service Pack 4.

REFERENCES

For additional information about configuring the Microsoft Exchange Service to work offline, please click the article number below to view the article in the Microsoft Knowledge Base:

195436 Remote Mail, Offline Folders, and Working Offline


Modification Type:MinorLast Reviewed:8/24/2005
Keywords:kbbug kbExchange550preSP4fix kbExchange550sp4Fix kbfix kbMsg KB243066