Re: odbccp32: Implement SQLGetPrivateProfileString
9 Jun
2015
9 Jun
'15
5:27 a.m.
On 09.06.2015 13:00, Alistair Leslie-Hughes wrote:
@@ -415,12 +416,56 @@ int WINAPI SQLGetPrivateProfileString(LPCSTR lpszSection, LPCSTR lpszEntry, LPCSTR lpszDefault, LPCSTR RetBuffer, int cbRetBuffer, LPCSTR lpszFilename)
I turns out our definition is wrong, PSDK uses LPSTR/LPWSTR for output buffer. Fixing that (including header of course) will fix casts that you had to use to cast const away. Also I think we want SQLGetPrivateProfileStringW to be implemented first, and forward SQLGetPrivateProfileString to it, unless there's a reason not to do that, like differences in behavior that some tests reveal.
3836
Age (days ago)
3836
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov