From: Stefan G. <ste...@ya...> - 2019-03-15 12:43:49
|
Hello all :) I need to use firebird with a windows application which does not have admin rights for install or run.I cannot figure out how can I use odbc driver without installing it - I don't even know if it's possible. I searched the net, found almost no information In this article it is stated that it is easy - just specify the OdbcFb.dll in the connection string.https://stackoverflow.com/questions/54826254/connect-odbc-without-driver-installed But the post also says that I have to link the OdbcFb.lib in my exe. I use Delphi (XE7) for that project and I think I cannot link a lib file.Maybe I could build a small c++ app just for executing the lib file somehow before starting my Delphi app? Other things I tried were writing a odbc.ini, odbcinst.ini files in my app folder and trying to describe the provider name and dll name there. The error remains pretty much the same:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. Please help - is there a way to use the odbc driver on windows without installing it from a Delphi application. Thanks in advance,Stefan. |