Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: The Standard C++ Library function wcsxfrm returns an incorrect value if you develop the application in Visual Studio .NET 2002
Article ID: 331014 - View products that this article applies to.
This article was previously published under Q331014
If you develop an application that calls the wcsxfrm function in the Standard C++ Library to transform a string that is based on locale-specific information, the result may return an incorrect size for the string.
This problem occurs because the function incorrectly returns the size of an array of bytes instead of the size of an array of wide characters. You may experience this problem if the locale is set to anything other than "C."
Service pack informationTo resolve this problem, obtain the latest service pack for Micorsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/837234/ )List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1
Hotfix informationThe English version of this hotfix has the file attributes (or later file attributes) 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 Version Size File name ------------------------------------------------------- 06-Nov-2002 21:59 7.0.9630.0 344,064 Msvcr70.dll 06-Nov-2002 20:55 7.0.9630.0 536,576 Msvcr70d.dll 06-Nov-2002 20:48 410,618 Msvcrt.lib 06-Nov-2002 20:55 420,622 Msvcrtd.lib 06-Nov-2002 19:48 4,845 Wcsxfrm.c 06-Nov-2002 20:53 3,198,228 Libcmtd.lib 06-Nov-2002 20:46 2,835,412 Libcmt.lib 06-Nov-2002 20:44 2,634,464 Libc.lib 06-Nov-2002 20:51 2,950,364 Libcd.lib
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.
For more information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 331014 - Last Review: September 27, 2005 - Revision: 2.1