Article ID: 941237 - Last Review: October 1, 2007 - Revision: 1.0 FIX: The MultiByteToWideChar function returns an unexpected value on a Windows Embedded CE 6.0-based deviceOn This PageSYMPTOMSConsider the following scenario. On a Windows Embedded CE 6.0-based device, you call the MultiByteToWideChar function in your code. You set the value of the fourth parameter of the MultiByteToWideChar function to -1. In this scenario, the MultiByteToWideChar function returns an unexpected value. For example, you run the following code on the Windows Embedded CE 6.0-based device. Note This problem occurs only for the GB18030 code page. RESOLUTIONSoftware update informationA supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (August 2007). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:Product version-yymmdd-kbnnnnnn-processor type For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates: 837392
(http://support.microsoft.com/kb/837392/
)
How to locate core operating system fixes for Microsoft Windows CE Platform Builder products PrerequisitesThis update is supported only if all previously issued updates for this product are also installed.Restart requirementAfter you apply this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this update.Update replacement informationThis update does not replace any other updates.File informationThe English version of this package has the file attributes (or later file attributes) that are listed in the following table.Collapse this table
Collapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONFor more information about the MultiByteToWideChar function, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms961248.aspx
(http://msdn2.microsoft.com/en-us/library/ms961248.aspx)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:824684
(http://support.microsoft.com/kb/824684/LN/
)
Description of the standard terminology that is used to describe Microsoft software updates
| Article Translations
|
Back to the top
