odbccp32: Implement SQLGetPrivateProfileString (try 7)

Nikolay Sivov bunglehead at gmail.com
Tue Jul 7 07:31:24 CDT 2015


On 07.07.2015 11:15, Alistair Leslie-Hughes wrote:

> +    retval = heap_alloc(cbRetBuffer*sizeof(WCHAR));
> +
> +    ret = SQLGetPrivateProfileStringW(sect, entry, string, retval, cbRetBuffer, file);

cbRetBuffer is A-buffer length, you're still using it as W-buffer length.



More information about the wine-devel mailing list