[ComCtl32 3/4] Implement Some String Functions
Dmitry Timoshkov
dmitry at baikal.ru
Tue Feb 17 09:45:10 CST 2004
"Robert Shearman" <R.J.Shearman at warwick.ac.uk> wrote:
> Because this implementation is copied from the SHLWAPI implementation. I
> did try to submit a test case to test for DBCS compatibility there, but
> as was noted by several people, DBCS depends on the current locale so
> the test was wrong. Therefore, I couldn't change any of the functions
> without risking breaking them.
That's true for Chr* APIs, but APIs that take strings as parameters
can be easily changed to use CompareString.
Actually you *can* submit DBCS tests, just call GetCPInfoEx before
doing an actual testing, and if MaxCharSize != 2 bail out with a
message explaining why the test is skipped.
--
Dmitry.
More information about the wine-devel
mailing list