Locale-dependent routines that are used in C programs may use a locale that is different from what is expected in Windows 2000 (884536)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Advanced Server
SYMPTOMSWhen you run C programs that use any locale-dependent routines in Microsoft Windows 2000, the locale-dependent routines may use the user locale instead of the locale that you expect to be used. You are not informed that the locale has been changed.CAUSEThis problem may occur if you run a program that calls any one of the Win32 performance data helper (PDH) functions. The PDH functions may change the locale when entering but the PDH functions may not restore the original locale when exiting.
For example, if your program calls the PdhEnumObjectItems PDH function, the C runtime library locale may be changed from the default C locale to the operating system user locale. After the PDH call has been made, all C runtime locale-dependent routines use the user locale. This may not be the locale that you expect the C locale-dependent routines to use.RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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. PrerequisitesWindows 2000 Service Pack 4. Restart requirementYou do not have to restart your computer after you apply this hotfix. Hotfix replacement informationThis hotfix does not replace any other hotfixes. File 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
-----------------------------------------------------
22-Sep-2004 20:32 5.0.2195.6978 154,896 Pdh.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor additional information about the C runtime locale and locale-dependent routines, visit the following Microsoft Developer Network (MSDN) Web site:
For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:
816915
New file naming schema for Microsoft Windows software update packages
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
| Modification Type: | Minor | Last Reviewed: | 6/1/2006 |
|---|
| Keywords: | kbBug kbfix kbWin2000preSP5fix kbHotfixServer kbQFE KB884536 kbAudDeveloper |
|---|
|