This article was previously published under Q331014
This article has been archived. It is offered "as is" and will no longer be updated.
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 information
To 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:
837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1
The 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.
Microsoft Visual C++ .NET 2002 Standard Edition, Microsoft Visual Studio .NET 2002 Professional Edition, Microsoft Visual Studio .NET 2002 Enterprise Architect, Microsoft Visual Studio .NET 2002 Enterprise Developer, Microsoft Visual Studio .NET 2002 Academic Edition