https://bugs.winehq.org/show_bug.cgi?id=50150
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |ea3096bdab8fb865f63496613d1 | |db09a105330dc
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/ea3096bdab8fb865f63496613d... ("odbccp32: Implement SQLWriteDSNToIni/W.").
Thanks Alistair
--- snip -- $ pwd /home/focht/.wine/drive_c/KOBOLD/shoai.13/admin/client-installation/tools/makedsn
$ WINEDEBUG=+seh,+relay,+loaddll,+odbc wine ./makedsn.exe >>log.txt 2>&1 ... 00fc:trace:odbc:SQLConfigDataSource Calling ConfigDSN ... 00fc:Call odbccp32.SQLWriteDSNToIni(0032e540 "shoai13",0032e928 "Microsoft Access Driver (*.mdb)") ret=011ac557 00fc:trace:odbc:SQLWriteDSNToIni "shoai13" "Microsoft Access Driver (*.mdb)" 00fc:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0032e540 "shoai13",ffffffff,00000000,00000000) ret=00a65a35 ... 00fc:Ret KERNEL32.MultiByteToWideChar() retval=00000008 ret=00a65a35 ... 00fc:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0032e540 "shoai13",ffffffff,00198318,00000008) ret=00a65a65 ... 00fc:Ret KERNEL32.MultiByteToWideChar() retval=00000008 ret=00a65a65 00fc:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0032e928 "Microsoft Access Driver (*.mdb)",ffffffff,00000000,00000000) ret=00a65a7a ... 00fc:Ret KERNEL32.MultiByteToWideChar() retval=00000020 ret=00a65a7a ... 00fc:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0032e928 "Microsoft Access Driver (*.mdb)",ffffffff,001998e0,00000020) ret=00a65aa7 ... 00fc:trace:odbc:SQLWriteDSNToIniW L"shoai13" L"Microsoft Access Driver (*.mdb)" 00fc:trace:odbc:SQLValidDSNW L"shoai13" ... 00fc:Ret odbccp32.SQLWriteDSNToIni() retval=00000001 ret=011ac557 ... 00fc:Ret odbccp32.SQLConfigDataSource() retval=00000001 ret=00465612 ... --- snip ---
Registry export to show the registered DSN:
--- snip --- Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\shoai13] "DBQ"="C:\KOBOLD\shoai.13\data\kobold13.mdb" "Description"="S-HOAI 13.0 Access" "driver"="C:\windows\system32\ODBCJT32.DLL" "DriverId"=dword:00000019 "FIL"="MS Access" "SafeTransactions"=dword:00000000 "UID"=""
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\shoai13\Engines]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\shoai13\Engines\Jet] "ImplicitCommitSync"="" "Threads"=dword:00000003 "UserCommitSync"="Yes" --- snip ---
$ wine --version wine-6.2-157-gb8719736c5a
Regards