Microsoft KB Archive/927753

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:32, 21 July 2020 by X010 (talk | contribs) (Text replacement - "<" to "<")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 927753

Article Last Modified on 7/23/2007



APPLIES TO

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Team Edition for Database Professionals
  • Microsoft Visual Studio 2005 Team Edition for Software Architects
  • Microsoft Visual Studio 2005 Team Edition for Software Developers
  • Microsoft Visual Studio 2005 Team Edition for Software Testers
  • Microsoft Visual Studio 2005 Team Foundation Server
  • Microsoft Visual Studio 2005 Team Suite
  • Microsoft Visual Studio 2005 Team System Test Edition



SYMPTOMS

Consider the following scenario. In the Japanese version of Microsoft Windows XP x64 Edition, you have a Microsoft Visual C++ 2005 application. You use the std::cout command to display some Japanese characters in the application. You use the setlocale(LC_ALL, "") function or the setlocale(LC_ALL, "Japanese") function together with the std::cout command. In this scenario, the Japanese characters cannot be displayed.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have the release version of Visual Studio 2005 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The Japanese 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 item in Control Panel.

File name File version File size Date Time Platform
Crtassem.h Not applicable 646 12-Feb-2007 11:06 Not applicable
Crtdefs.h Not applicable 86,401 12-Feb-2007 11:06 Not applicable
Internal.h Not applicable 43,847 12-Feb-2007 11:06 Not applicable
Ioinit.c Not applicable 13,048 12-Feb-2007 11:06 Not applicable
Libcmt.lib Not applicable 10,960,080 12-Feb-2007 16:37 Not applicable
Libcmtd.lib Not applicable 13,918,762 12-Feb-2007 16:37 Not applicable
Libcpmt.lib Not applicable 8,206,694 12-Feb-2007 16:37 Not applicable
Libcpmtd.lib Not applicable 11,615,468 12-Feb-2007 16:37 Not applicable
Microsoft_vc80_crt_x86.msm Not applicable 634,880 12-Feb-2007 18:36 Not applicable
Microsoft_vc80_crt_x86_ia64.msm Not applicable 2,476,032 12-Feb-2007 18:37 Not applicable
Microsoft_vc80_crt_x86_x64.msm Not applicable 1,799,680 12-Feb-2007 18:37 Not applicable
Microsoft_vc80_debugcrt_x86.msm Not applicable 2,175,488 12-Feb-2007 18:37 Not applicable
Microsoft_vc80_debugcrt_x86_ia64.msm Not applicable 3,983,872 12-Feb-2007 18:37 Not applicable
Microsoft_vc80_debugcrt_x86_x64.msm Not applicable 2,287,104 12-Feb-2007 18:37 Not applicable
Msvcm80.dll 8.0.50727.267 572,928 12-Feb-2007 10:56 IA-64
Msvcm80d.dll 8.0.50727.267 1,338,880 12-Feb-2007 10:53 x64
Msvcmrt.lib Not applicable 972,606 12-Feb-2007 11:06 Not applicable
Msvcmrtd.lib Not applicable 1,009,764 12-Feb-2007 11:06 Not applicable
Msvcp80.dll 8.0.50727.267 1,387,520 12-Feb-2007 10:58 IA-64
Msvcp80d.dll 8.0.50727.267 1,396,736 12-Feb-2007 10:54 x64
Msvcprt.lib Not applicable 1,959,720 12-Feb-2007 16:37 Not applicable
Msvcprtd.lib Not applicable 2,153,360 12-Feb-2007 16:37 Not applicable
Msvcr80.dll 8.0.50727.267 1,486,336 12-Feb-2007 10:55 IA-64
Msvcr80d.dll 8.0.50727.267 1,330,176 12-Feb-2007 10:52 x64
Msvcrt.lib Not applicable 1,174,810 12-Feb-2007 16:37 Not applicable
Msvcrtd.lib Not applicable 1,209,604 12-Feb-2007 16:37 Not applicable
Msvcurt.lib Not applicable 5,969,852 12-Feb-2007 11:06 Not applicable
Msvcurtd.lib Not applicable 6,643,890 12-Feb-2007 11:06 Not applicable
Nosxs_msvcm80.dll 8.0.50727.267 479,232 12-Feb-2007 11:06 x86
Vcredist_ia64.exe 2.0.50727.267 6,562,816 12-Feb-2007 15:40 x86
Vcredist_x64.exe 2.0.50727.267 3,158,016 12-Feb-2007 14:52 x86
Vcredist_x86.exe 2.0.50727.267 2,668,544 12-Feb-2007 19:38 x86
Write.c Not applicable 21,020 12-Feb-2007 11:06 Not applicable
Crtassem.h Not applicable 814 12-Feb-2007 11:06 Not applicable
Crtdefs.h Not applicable 76,358 12-Feb-2007 11:06 Not applicable
Libcmt.lib Not applicable 7,997,348 12-Feb-2007 16:38 Not applicable
Libcmtd.lib Not applicable 9,947,826 12-Feb-2007 16:38 Not applicable
Msvcp80d.dll 8.0.50727.267 1,396,736 12-Feb-2007 10:54 x64
Msvcr80d.dll 8.0.50727.267 1,330,176 12-Feb-2007 10:52 x64
Libcmtd.lib Not applicable 9,872,226 12-Feb-2007 11:06 Not applicable
Libcpmt.lib Not applicable 7,237,090 12-Feb-2007 16:38 Not applicable
Libcpmtd.lib Not applicable 9,321,168 12-Feb-2007 16:38 Not applicable
Msvcm80d.dll 8.0.50727.267 1,338,880 12-Feb-2007 10:53 x64
Msvcmrt.lib Not applicable 1,094,650 12-Feb-2007 16:38 Not applicable
Msvcmrtd.lib Not applicable 1,134,822 12-Feb-2007 16:38 Not applicable
Msvcprt.lib Not applicable 1,512,190 12-Feb-2007 16:38 Not applicable
Msvcprtd.lib Not applicable 1,656,852 12-Feb-2007 16:38 Not applicable
Msvcrt.lib Not applicable 945,228 12-Feb-2007 16:38 Not applicable
Msvcrtd.lib Not applicable 978,780 12-Feb-2007 16:38 Not applicable
Msvcurt.lib Not applicable 6,139,296 12-Feb-2007 16:38 Not applicable
Msvcurtd.lib Not applicable 6,798,912 12-Feb-2007 16:38 Not applicable
Msvcm80.dll 8.0.50727.267 572,928 12-Feb-2007 10:56 IA-64
Msvcm80d.dll 8.0.50727.267 1,015,808 12-Feb-2007 11:06 x86
Msvcp80.dll 8.0.50727.267 1,387,520 12-Feb-2007 10:58 IA-64
Msvcp80d.dll 8.0.50727.267 1,032,192 12-Feb-2007 11:06 x86
Msvcr80.dll 8.0.50727.267 1,486,336 12-Feb-2007 10:55 IA-64
Msvcr80d.dll 8.0.50727.267 1,171,456 12-Feb-2007 11:06 x86
Msvcm80.dll 8.0.50727.267 479,232 12-Feb-2007 11:06 x86
Msvcm80d.dll 8.0.50727.267 1,638,400 12-Feb-2007 10:56 IA-64
Msvcp80.dll 8.0.50727.267 548,864 12-Feb-2007 11:06 x86
Msvcp80d.dll 8.0.50727.267 3,229,184 12-Feb-2007 10:57 IA-64
Msvcr80.dll 8.0.50727.267 626,688 12-Feb-2007 11:06 x86
Msvcr80d.dll 8.0.50727.267 3,697,152 12-Feb-2007 10:55 IA-64
Msvcm80.dll 8.0.50727.267 516,096 12-Feb-2007 10:54 x64
Msvcp80.dll 8.0.50727.267 1,060,864 12-Feb-2007 10:55 x64
Msvcr80.dll 8.0.50727.267 794,624 12-Feb-2007 10:52 x64
Libcmt.lib Not applicable 7,843,032 12-Feb-2007 11:06 Not applicable
Libcpmt.lib Not applicable 5,004,446 12-Feb-2007 11:06 Not applicable
Libcpmtd.lib Not applicable 6,716,772 12-Feb-2007 11:06 Not applicable
Msvcmrt.lib Not applicable 1,241,084 12-Feb-2007 16:37 Not applicable
Msvcmrtd.lib Not applicable 1,278,472 12-Feb-2007 16:37 Not applicable
Msvcprt.lib Not applicable 1,482,132 12-Feb-2007 11:06 Not applicable
Msvcprtd.lib Not applicable 1,625,592 12-Feb-2007 11:06 Not applicable
Msvcrt.lib Not applicable 948,194 12-Feb-2007 11:06 Not applicable
Msvcrtd.lib Not applicable 982,798 12-Feb-2007 11:06 Not applicable
Msvcurt.lib Not applicable 6,296,940 12-Feb-2007 16:37 Not applicable
Msvcurtd.lib Not applicable 6,973,796 12-Feb-2007 16:37 Not applicable
Msvcm80.dll 8.0.50727.267 479,232 12-Feb-2007 11:06 x86
Msvcm80d.dll 8.0.50727.267 1,015,808 12-Feb-2007 11:06 x86
Msvcp80.dll 8.0.50727.267 548,864 12-Feb-2007 11:06 x86
Msvcp80d.dll 8.0.50727.267 1,032,192 12-Feb-2007 11:06 x86
Msvcr80.dll 8.0.50727.267 626,688 12-Feb-2007 11:06 x86
Msvcr80d.dll 8.0.50727.267 1,171,456 12-Feb-2007 11:06 x86
Msvcm80.dll 8.0.50727.267 516,096 12-Feb-2007 10:54 x64
Msvcm80d.dll 8.0.50727.267 1,638,400 12-Feb-2007 10:56 IA-64
Msvcp80.dll 8.0.50727.267 1,060,864 12-Feb-2007 10:55 x64
Msvcp80d.dll 8.0.50727.267 3,229,184 12-Feb-2007 10:57 IA-64
Msvcr80.dll 8.0.50727.267 794,624 12-Feb-2007 10:52 x64
Msvcr80d.dll 8.0.50727.267 3,697,152 12-Feb-2007 10:55 IA-64
Msvcm80d.dll 8.0.50727.267 1,015,808 12-Feb-2007 11:06 x86
Msvcp80.dll 8.0.50727.267 548,864 12-Feb-2007 11:06 x86
Msvcp80d.dll 8.0.50727.267 1,032,192 12-Feb-2007 11:06 x86
Msvcr80.dll 8.0.50727.267 626,688 12-Feb-2007 11:06 x86
Msvcr80d.dll 8.0.50727.267 1,171,456 12-Feb-2007 11:06 x86
Crtassem.h Not applicable 646 12-Feb-2007 10:58 Not applicable
Crtdefs.h Not applicable 86,401 12-Feb-2007 10:58 Not applicable
Libcpmt.lib Not applicable 8,206,694 12-Feb-2007 10:58 Not applicable
Crtassem.h Not applicable 814 12-Feb-2007 10:58 Not applicable


WORKAROUND

To work around this problem, use one of the following methods.

Method 1

Create a buffer for the stdout pointer and for the stderr pointer. Therefore, the application does not call the _write() function byte by byte. For example, you can use the following sample code to create a buffer for the stdout pointer.

char* ret = setlocale(LC_ALL, "Japanese");
setvbuf(stdout, NULL,_IOFBF, SIZE);
std::cout << "?" << std::endl;

Method 2

Call the setlocale(LC_ALL, "C") function before you use the std::cout command. For example, use the following sample code to call the setlocale(LC_ALL, "C") function.

char* ret = setlocale(LC_ALL, "C");
std::cout << "?" << std::endl;
setlocale(LC_ALL,ret);

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more 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: kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB927753