BUG: LSTRCMP and LSTRCMPI Fails with Non-US Regional SettingsID: Q178529
|
Under the following conditions, the LSTRCMP and LSTRCMPI string-comparison APIs may erroneously report that two strings fail to compare:
If the regional setting is anything other than English (United States), the string-compare call is thunked to 32-bit string-compare functions in Kernel32. The thunking code does not force a segment reload if the segment containing a string that is supposed to be compared has been discarded.
It may be possible to work around this problem using one of the following methods:
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
For additional information, please see the following article in the Microsoft Knowledge Base:
Q180727 Error Message: Property or Method Not Found
Additional query words:
Keywords : kbGrpUser kbWinOS95bug
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 6, 1999