XADM: "MapiInitialize" Does Not Handle Different Threading Models; the Fix Requires Exchange 2000 SP2 (313094)



The information in this article applies to:

  • Microsoft Exchange 2000 Server
  • Microsoft Exchange 2000 Conferencing Server

This article was previously published under Q313094

SYMPTOMS

Even if the MAPI_NO_COINIT flag is passed, MapiInitialize() may not handle different threading models correctly if Component Object Model (COM) has already been initialized.

CAUSE

This problem may occur if MapiInitialize() calls CoInitialize() regardless of whether or not the flag is passed, and then calls CoUninitialize if the flag was set, without first checking to see if CoInitialize initially failed. This behavior may cause CoUninitialize to be called too many times.

RESOLUTION

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

301378 XGEN: How to Obtain the Latest Exchange 2000 Server Service Pack

The English version of this fix should have the following file attributes or later:

Component: Messaging Application Programming Interface (MAPI)

File nameVersion
Mapi32.dll6.0.5770.1

NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 2.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server. This problem was first corrected in Microsoft Exchange 2000 Server Service Pack 3.

Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbbug kbExchange2000preSP3fix kbExchange2000sp3fix kbfix KB313094