At first: Congratulations for the commit of your Patches.
On Do, 2007-01-11 at 09:29 -0800, Bill Medland wrote:
Bill Medland (billmedland@shaw.ca) Implement GetInstalledDrivers in odbccp32
BOOL WINAPI SQLGetInstalledDriversW(LPWSTR lpszBuf, WORD cbBufMax, WORD *pcbBufOut)
- else if ((reg_ret = RegOpenKeyExA (HKEY_LOCAL_MACHINE /* The drivers does not depend on the config mode */,
"Software\\ODBC\\ODBCINST.INI\\ODBC Drivers", 0, KEY_READ /* Maybe overkill */,
&hDrivers)) == ERROR_SUCCESS)
We want to eleminate all CrossCalls: http://wiki.winehq.org/CrossCallsWtoA
Please convert RegOpenKeyExA and the string to UNICODE. Thanks