Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: ODBC on x32 x64 64 32 bit platform system ODBC32 odbcconf.exe
WinBatch is a 32 bit application. The current version of WinBatch has been thoroughly tested on 64 bit platforms. However, Because the ODBC Extender is compiled as a 32 bit DLL, it acts as a 32 bit App. All of the ODBC operations are treated as 32 bit operations on 64 bit platform.
The ODBC Extender would have to be compiled as a 64 bit Dll in order to handle 64 bit DSNs. That is not likely to happen any time soon.
It's important to understand which kind of DSN you have. On an 64 bit system, you can create an ODBC connection(DSN) on the 32-bit side of the system or on the 64-bit side of the system. 32-bit applications will only see ODBC connections created in the 32-bit side, and 64-bits applications will only see ODBC connections from the 64-bit side. Each kind of application has its own registry.
To setup DSN for 32-bit application you must use either : the ODBC Extender function qConfigData or %WINDIR%SysWOW64odbcad32.exe
and for 64-bit application you must use: %WINDIR%System32odbcad32.exe
If you must create 64 DSNs you will need to find a workaround...
I suppose, you could try to reproduce this code in Winbatch.
Article ID: W17585
Filename: ODBC on 64 bit System.txt
File Created: 2019:05:09:08:59:40
Last Updated: 2019:05:09:08:59:40