CreateToolhelp32Snapshot tests

Dmitry Timoshkov dmitry at codeweavers.com
Thu May 11 00:46:47 CDT 2006


"Stefan Leichter" <Stefan.Leichter at camLine.com> wrote:

> e.g. 
> http://test.winehq.org/data/200605071000/2000_ahz-vm2k/kernel32:toolhelp.txt 
> show four failing tests beause of comparing upper and lower case dll names


> -                if (!strcmp(expected[i], me.szModule)) found[i]++;
> +                /* on win2k the names can be upper case */
> +                if (!strcasecmp(expected[i], me.szModule)) found[i]++;

It's better to use win32 API lstrcmpi since strcasecmp might be
not available on a target windows platform.

-- 
Dmitry.



More information about the wine-devel mailing list