Microsoft KB Archive/331014

From BetaArchive Wiki

Article ID: 331014

Article Last Modified on 9/27/2005



APPLIES TO

  • 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



This article was previously published under Q331014


SYMPTOMS

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.

CAUSE

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."

RESOLUTION

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


Hotfix information

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.

   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

STATUS

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.

MORE INFORMATION

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:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbbug kbfix kbqfe kbvsnetpresp1fix kbvs2002sp1sweep kbvs2002sp1fix kbhotfixserver KB331014