Christopher <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]