From: Alan B. <_@_._> - 2009-10-24 17:07:26
|
Jorge, Read the "Driver" value from "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Firebird/InterBase(r) driver" first Then use this value when creating your own DSN inside your app. HTH Alan ""Jorge Andrés Brugger"" <li...@da...> wrote in message news:4AE...@da...... > 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=3DC:\WINDOWS\system32\OdbcFb.dll" = > > but there is no such path on win2000). > > Roman Simakov escribi=F3: >>> Jorge Andr=E9s Brugger wrote: >>> >>> The "driver" value at the DSN saved into registry (pointing generally to >>> C:\WINDOWS\system32\OdbcFb32.dll), how and where it=B4s used? >>> >>> (I=B4ve 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. >> >> = > > > -- = > > Jorge Andr=E9s Brugger > Inform=E1tica > DASU - Obra Social del Personal de la Universidad Nacional de la Patagonia > Comodoro Rivadavia, Chubut, Argentina > Tel=E9fono (0297) 446-4444 int. 103 > Correo electr=F3nico: jbr...@da... > Website: www.dasu.com.ar > > > > ---------------------------------------------------------------------------= > --- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > = > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Firebird-odbc-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > |