Microsoft KB Archive/266165

= OL2000: MAPI CopyFolder Presents Unicode Without Unicode Flag =

Article ID: 266165

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q266165



SYMPTOMS
If you develop custom information store providers that support Unicode, when you copy folders that contain subfolders from the Microsoft 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 IMAPIFolder::CreateFolder 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
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Outlook 2000 service release that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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



STATUS
Microsoft has confirmed that this is a problem in Microsoft Outlook 2000.

Additional query words: OL2K

Keywords: kbhotfixserver kbqfe kbbug kbfix kboffice2000presr2fix KB266165

-

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

© Microsoft Corporation. All rights reserved.