Article ID: 838445
Article Last Modified on 5/27/2005
APPLIES TO
- Microsoft Windows CE .NET 4.2
SYMPTOMS
An access violation may occur when all the following conditions are true:
- A program calls either the VarDateFromStr function or the VarBstrFromDate function
- Either of these functions has a Locale Identifier (LCID) value that is defined by using LANG_CHINESE as the Primary Language Identifier
- The LCID value also has one of the following SubLanguage Identifiers:
- SUBLANG_CHINESE_HONGKONG
- SUBLANG_CHINESE_SINGAPORE
- SUBLANG_CHINESE_MACAU
Alternatively, an access violation may also occur if one call causes another call to the functions that are mentioned earlier, as described in the following:
- The program calls either the VariantChangeTypeEx function or the VariantChangeType function.
- The previous call results in a call to either the VarDateFromStr function or the VarBstrFromDate function.
RESOLUTION
Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 838445. 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 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products
Prerequisites
This fix is supported only when all previously issued fixes for this product have also been installed.
Restart Requirement
After you install 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.
Hotfix Replacement Information
This hotfix does not replace any other hotfixes.
File Information
The English version of this package has the file attributes (or later) that are listed in the following table.
Date Time Version Size File name ------------------------------------------------------------------------------------- Path: Signed 09-Apr-2004 22:09 4.2.4.409 1,510,136 Wincepb42-040409-kb838445-armv4.exe 09-Apr-2004 22:09 4.2.4.409 1,510,136 Wincepb42-040409-kb838445-armv4i.exe 09-Apr-2004 22:09 4.2.4.409 1,514,232 Wincepb42-040409-kb838445-mipsii.exe 09-Apr-2004 22:09 4.2.4.409 1,514,232 Wincepb42-040409-kb838445-mipsii_fp.exe 09-Apr-2004 22:09 4.2.4.409 1,526,520 Wincepb42-040409-kb838445-mipsiv.exe 09-Apr-2004 22:09 4.2.4.409 1,522,424 Wincepb42-040409-kb838445-mipsiv_fp.exe 09-Apr-2004 22:09 4.2.4.409 1,469,176 Wincepb42-040409-kb838445-sh3.exe 09-Apr-2004 22:09 4.2.4.409 1,465,080 Wincepb42-040409-kb838445-sh4.exe 09-Apr-2004 22:09 4.2.4.409 1,370,872 Wincepb42-040409-kb838445-x86.exe
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Size File name -------------------------------------------------------------- Path: Public\Dcom\Oak\Lib\Armv4\Debug 25-Mar-2004 17:12 1,296,224 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Armv4\Retail 25-Mar-2004 17:12 1,011,742 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Armv4i\Debug 25-Mar-2004 17:12 1,300,124 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Armv4i\Retail 25-Mar-2004 17:12 1,014,492 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsii\Debug 25-Mar-2004 17:12 1,283,354 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsii\Retail 25-Mar-2004 17:12 1,016,032 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsii_fp\Debug 25-Mar-2004 17:12 1,286,752 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsii_fp\Retail 25-Mar-2004 17:12 1,011,556 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsiv\Debug 25-Mar-2004 17:13 1,306,430 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsiv\Retail 25-Mar-2004 17:12 1,031,558 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsiv_fp\Debug 25-Mar-2004 17:13 1,300,762 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Mipsiv_fp\Retail 25-Mar-2004 17:13 1,017,598 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Sh3\Debug 25-Mar-2004 17:13 1,130,594 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Sh3\Retail 25-Mar-2004 17:13 905,022 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Sh4\Debug 25-Mar-2004 17:13 1,126,902 Oleaut32.lib Path: Public\Dcom\Oak\Lib\Sh4\Retail 25-Mar-2004 17:13 895,956 Oleaut32.lib Path: Public\Dcom\Oak\Lib\X86\Debug 25-Mar-2004 17:11 971,160 Oleaut32.lib Path: Public\Dcom\Oak\Lib\X86\Retail 25-Mar-2004 17:11 831,290 Oleaut32.lib
WORKAROUND
To work around the access violation, make a call to the problematic functions with an LCID that has a different SubLanguage Identifier. Make this initial call before the call that causes the access violation. Specifically, call either the VarDateFromStr function or the VarBstrFromDate function with the following language characteristics:
- The LCID is defined by using LANG_CHINESE as the Primary Language Identifier
- The SubLanguage Identifier is one of the following:
- SUBLANG_CHINESE_TRADITIONAL
- SUBLANG_CHINESE_SIMPLIFIED
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Keywords: kbbug kbfix kbqfe KB838445