Conformance tests for LoadStringW and LoadStringA

Alexandre Julliard julliard at
Fri Feb 29 05:50:53 CST 2008

Christopher <raccoonone at> writes:

> +        ok(!memcmp(copiedstring, returnedstring, (length2 + 1)*sizeof(WCHAR)),
> +            "LoadStringW returned a string that does not match the string pointed to by the pointer it returned. \
> +             returnedstring = %ls, copiedstring = %ls", (wchar_t *)returnedstring, (wchar_t *)copiedstring);

You cannot cast a WCHAR* to a wchar_t*.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list