Microsoft KB Archive/264335

= XADM: CopyFolder Presents Unicode Without Unicode Flag =

Article ID: 264335

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface
 * Microsoft Exchange Server 5.5 Standard Edition

-



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.

Additional query words: OL98 MAPI Unicode

Keywords: kbbug kbexchange550presp4fix kbexchange550sp4fix kbfix kbqfe KB264335

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.