[PATCH] Tests that prove ntdll has no notion of HKCR.
Dmitry Timoshkov
dmitry at baikal.ru
Sun May 19 01:20:54 CDT 2013
George Stephanos <gaf.stephanos at gmail.com> wrote:
> > Ah, well, strcmp comes from the C library your compiler uses. wcsncmp can
> > only come from msvcrt. When compiling for Wine, this can result in mixing C
> > runtime libraries, and hilarity can result.
...
> Perhaps I could just use memcmp?
Use lstrcmpW/lstrcmpiW for unicode string comparisons, and lstrcmpA/lstrcmpiA
for ANSI strings (you can't use glibc ones because of locale differencies),
they are kernel32 exports, and exist in all Windows versions.
--
Dmitry.
More information about the wine-devel
mailing list