Article ID: 264795 - View products that this article applies to.
This article was previously published under Q264795
This article has been archived. It is offered "as is" and will no longer be updated.
Multibyte character set (MBCS) string functions, such as _ismbcspace, that are provided by the Msvcrt.dll file (version 6.1.8637.0) released with both Microsoft Windows 2000 and Microsoft Windows ME have a slower performance than earlier versions of the Msvcrt.dll file released with Microsoft Windows NT 4.0, Windows 9x, or Visual C++ 6.0. The slower performance affects any application that directly or indirectly uses the MBCS string functions of the Msvcrt.dll file.
The Mfc42.dll file is built with a _MBCS processor directive by default, and the Microsoft Foundation Class Library (MFC) CString functions use the Msvcrt.dll file MBCS functions by default. Applications that use MFC CString functions have a slower performance when they run on Windows 2000 and Windows ME than when they run on Windows 9x and Windows NT 4.0.
The degree of performance degradation depends on how intensive the application uses the run-time MBCS string functions or MFC CString functions.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910The following are three possible work arounds to resolve the problem:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
Steps to Reproduce the Behavior
"Strings: Overview," "Multibyte Character Sets (MBCS): Overview," and "Unicode Programming: Overview" in MSDN under Visual C++ Documentation / Visual C++ Programmer's Guide /Adding Program Functionality /Overviews.
TN033: DLL Version of MFC