George Stephanos <gaf.stepha...@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.