XADM: CopyFolder Presents Unicode Without Unicode Flag (264335)



The information in this article applies to:

  • MAPI
  • Microsoft Exchange Server 5.5

This article was previously published under Q264335

SYMPTOMS

If you develop custom information store providers that support Unicode, when you copy folders that contain subfolders from the Exchange Server information store to the custom information store, the subfolders in the sample information store may be created with truncated subfolder names.

CAUSE

This problem can occur because the call to the IMAPIFolder::CreateFolder() function passes the ulFlags parameters as 0, which implies that the string is American National Standards Institute (ANSI), even though the string that is passed is Unicode. According to documentation, the ulFlags variable should be set to MAPI_UNICODE if the passed-in strings are in Unicode format. If the MAPI_UNICODE flag is not set, the strings are in ANSI format.

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


STATUS

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

Modification Type:MajorLast Reviewed:10/9/2003
Keywords:kbbug kbExchange550preSP4fix kbExchange550sp4Fix kbfix kbQFE KB264335