7 Jul
2015
7 Jul
'15
12:31 p.m.
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.