On 3/22/06, Alexandre Julliard julliard@winehq.org wrote:
The source lengths are wrong, these are null-terminated strings. Also please use sizeof() instead of hardcoding the constants.
Would MultiByteToWideChar(CP_ACP, 0, pPerUser->szGUID, -1, perUserW.szGUID, sizeof(perUserW.szGUID)) be a better solution?
-- James Hawkins