briangriffin
Programmer
Windows Server 2008 R2 Datacenter
I'm trying to pull a list of DSN's into my application using reg query:
reg query "hklm\software\obdc\odbc.ini"
I can see the DSN's I want at that location in the registry, but the query is returning the DSN list from this location:
HKLM\Software\Wow6432Node\ODBC\ODBC.INI
This query returns the same DSN's as the first query:
reg query "hklm\software\Wow6432Node\obdc\odbc.ini"
Those are also the same DSN's shown when launching the 32 bit ODBC Administrator. When using the 64 bit ODBC Administrator the proper DSN's are shown.
I've never used reg query before, but I'm at a loss as to this behavior. What am I missing?
TIA.
I'm trying to pull a list of DSN's into my application using reg query:
reg query "hklm\software\obdc\odbc.ini"
I can see the DSN's I want at that location in the registry, but the query is returning the DSN list from this location:
HKLM\Software\Wow6432Node\ODBC\ODBC.INI
This query returns the same DSN's as the first query:
reg query "hklm\software\Wow6432Node\obdc\odbc.ini"
Those are also the same DSN's shown when launching the 32 bit ODBC Administrator. When using the 64 bit ODBC Administrator the proper DSN's are shown.
I've never used reg query before, but I'm at a loss as to this behavior. What am I missing?
TIA.