From: Roman S. <rom...@gm...> - 2009-10-23 19:21:19
|
That value is used by ODBC manager when you connect to the database and provide described DSN. ODBC manager find necessary library. Or I still don't understand your question. You program can work in other way. I can't tell you. Maybe your driver is self-registered in installer? You can start debug ODBC and look into messages. What driver is really used. -- Roman Jorge Andrés Brugger wrote: > Roman, I'm not talking about the driver install, but the DSN data. If > you install the driver, and then create a ODBC DSN (for example, > "TestDSN"), a new registry key is created at > HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\TestDSN > > Inside that key, there is a value named "Driver", containing > "C:\WINDOWS\system32\OdbcFb.dll" (if DSN was created in a WinXP box, > change "windows" by "winnt" if using win2000). > > How is that value used by the driver? (I create the DSN inside my app > installer, by adding the necessary registry entries, but today I've > realized I was creating always "Driver=C:\WINDOWS\system32\OdbcFb.dll" > but there is no such path on win2000). > > Roman Simakov escribió: > >>> Jorge Andrés Brugger wrote: >>> >>> The "driver" value at the DSN saved into registry (pointing generally to >>> C:\WINDOWS\system32\OdbcFb32.dll), how and where it´s used? >>> >>> (I´ve configured a Windows 2000 with that value - Win2000 doesnt get >>> installed at \windows, but \winnt - ... however, driver seems to work >>> anyway) >>> >>> Regards! >>> >>> >>> >> How did you install odbc driver? While installing it is registered in >> registry, AFAIK. >> Run odbcad32.exe and look for driver location. >> >> >> > > |