OdbcFb.dll: load of FbClient.dll from local dir [ODBC126]
firebird-automations opened this issue · 3 comments
Submitted by: ohenri (ohenri)
Actually, it seems that OdbcFb.dll itself will be loaded according the spec in the registry
(HKLM\Software\ODBC\ODBCINST.INI\Firebird/InterBase(r) driver\Driver = Path of the OdbcFb dll.
Then, OdbcFb dll seems to load the Gds32/Fbclient more or less directly from the \System32 directory.
Problem:
It is not possible to run ODBC with explicit different firebird client versions kept in well defined different directories.
Request:
The OdbcFb.dll shall try to load the FB-Client library (fbclient or gds32) by following sequences:
1. Try to load from the current directory
2. Try to load from the directory where OdbcFb.dll is found
3. Try to load by default search pathes of the system (which points then, usually, to System32)
2) is the requested new feature.
Commented by: @alexpotapchenko
If the path to driver is not specified in DSN or SQLDriverConnect function, then
[ HKLM\Software\ODBC\ODBCINST.INI\Firebird/InterBase(r) driver\Driver ] is the default path to driver.
<<It is not possible to run ODBC with explicit different firebird client versions kept in well defined different directories.
I don't see problem to configure DNS and specify driver path.
Modified by: @alexpotapchenko
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Won't Fix [ 2 ]
Fix Version: 2.0 [ 10044 ]
Modified by: @alexpotapchenko
status: Resolved [ 5 ] => Closed [ 6 ]