{"id":694,"date":"2014-09-21T19:50:19","date_gmt":"2014-09-21T19:50:19","guid":{"rendered":"http:\/\/tomvanmaanen.nl\/?p=694"},"modified":"2014-09-21T19:50:19","modified_gmt":"2014-09-21T19:50:19","slug":"access-odbc","status":"publish","type":"post","link":"http:\/\/archief.van-maanen.com\/?p=694","title":{"rendered":"Access odbc"},"content":{"rendered":"<p>Just a little note.<br \/>\nI discovered that one may access the 32 bit ODBC drivers on a 64 bit platform via: C:\\Windows\\SysWOW64\\odbcad32.exe and the 64 bit ODBC drivers via: C:\\Windows\\System32\\odbcad32.exe<\/p>\n<p>This may be handy if one must access a 32 bit application (like Access 2007) via ODBC in a 64 bit environment. The standard ODBC application doesn&#8217;t allow you to directly access the 32 bit ODBC connections on a 64 bit platform. It is bit awkward and one could circumvent this issue via a direct call to the 32 ODBC driver environment.<\/p>\n<p>One should always use the appropriate version of the ODBC Administrator tool. If you build and then run an application as a 32-bit application on a 64-bit operating system, you must create the ODBC data source by using the ODBC Administrator tool in %windir%\\SysWOW64\\odbcad32.exe. The 64 bit ODBC drivers can be accessed directly using C:\\Windows\\System32\\odbcad32.exe. To indicate the type of DSN, you can add &#8220;_32&#8221; to the 32-bit user DSNs and &#8220;_64&#8221; to the 64-bit user DSNs.<\/p>\n<p>The 64-bit ODBC Administrator tool can also be invoked from Control Panel to manage user DSNs and system DSNs that are used by 64-bit processes. On a 64-bit operating system, the 32-bit ODBC Administrator tool is used for Windows on Windows 64 (WOW64) processes. You must directly invoke the 32-bit ODBC Administrator tool from the SysWoW64 folder. You can use the 32-bit ODBC Administrator tool to manage user DSNs and system DSNs that are used by WOW64 processes.<\/p>\n<p>On a 32 bit system, the 64-bit drivers cannot be installed (of course). The 32 bit ODBC driver are the only drivers that can be found; they can be accessed via the Control Panel.<\/p>\n<p>So, what do we have?<br \/>\nIn a scheme:<\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td>64-bit Windows<\/td>\n<td>32-bit Windows<\/td>\n<\/tr>\n<tr>\n<td>64-bit Administrator<\/td>\n<td>C:\\Windows\\odbcad32.exe<br \/>\nor<br \/>\nStart -&gt; Control Panels -&gt; Data Sources (ODBC)<\/td>\n<td>N.A.<\/td>\n<\/tr>\n<tr>\n<td>32-bit Administrator<\/td>\n<td>C:\\Windows\\SysWoW64\\odbcad32.exe<\/td>\n<td>C:\\Windows\\odbcad32.exe<br \/>\nor<br \/>\nStart -&gt; Control Panels -&gt; Data Sources (ODBC)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"color: #333333; font-size: 13px; font-family: 'Segoe UI', Arial, sans-serif;\">\n","protected":false},"excerpt":{"rendered":"<p>Just a little note. I discovered that one may access the 32 bit ODBC drivers on a 64 bit platform via: C:\\Windows\\SysWOW64\\odbcad32.exe and the 64 bit ODBC drivers via: C:\\Windows\\System32\\odbcad32.exe This may be handy if one must access a 32 bit application (like Access 2007) via ODBC in a 64 bit environment. The standard ODBC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":756,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-694","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nice-to-know"],"_links":{"self":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=694"}],"version-history":[{"count":0,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions"}],"wp:attachment":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}