[PATCH] Tests that prove ntdll has no notion of HKCR.

George Stephanos gaf.stephanos at gmail.com
Sun May 19 03:49:29 CDT 2013


On Sun, May 19, 2013 at 8:20 AM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:

> 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.
>

Well I do need the functions to be boundable by length, or else I'd need to
do some copying.
I'm going to post the updated patch with memcmp until a better solution
comes up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130519/a673f4d1/attachment.html>


More information about the wine-devel mailing list