I am trying to create aWin32 Dll to reuse some code from an old 32 bit MFC app that connects to a SQL Anywhere12 DB. This will run on a 64 bit W7 system When connecting I get the error [Microsoft][ODBC] The specified DSN contains an architecture mismatch between the Driver and Application. I found several places telling me to use c:windows sysWOW64odbcad32.exe to setup a 32-Bit DSN. The problem is that when I run odbcad32.exe the only non Microsoft driver is UltraLite 12. I need the SQL Anywhere 12 driver. Thanks In advance for any words of wisdom

asked 09 Feb '12, 17:20

Chris's gravatar image

accept rate: 0%

edited 10 Feb '12, 03:28

Volker%20Barth's gravatar image

Volker Barth

In order to get that SQL anywhere 12 driver to show up in the 32 bit configuration screen you have to install the 32 bit client package for SQLA 12 or install the admin tools' 32 bit version. Then you get the driver in the 32 bit configuration. The 64 bit one is probably installed, but it will not talk to the 32 bit applications I think.

This question has more information and links to even more questions:

ODBC Question

permanent link

answered 09 Feb '12, 18:44

Siger%20Matt's gravatar image

Siger Matt
accept rate: 13%

edited 09 Feb '12, 18:46

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Feb '12, 17:20

question was seen: 7,708 times

last updated: 10 Feb '12, 03:28