Microsoft KB Archive/243066

= PRB: MessageBox after MAPIUninitialize Causes Access Violation =

Article ID: 243066

Article Last Modified on 8/24/2005

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface
 * Microsoft Exchange Server 5.5 Service Pack 2
 * Microsoft Exchange Server 5.5 Service Pack 3

-



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.

