We are currently running SQL Anywhere 12.0.1, EBF 3895 in our application. We have been running it 32-bit only. We now want to run it 64-bit on 64-bit machines.
I reinstalled SQL Anywhere on my machine & installed it for 32 & 64 bit environments. When I look in the C:\Program Files\SQL Anywhere 12\Assembly\V4 folder, however, there are only the same managed DLLs we have in our application now.
Our installer currently installs the 32-bit version of SA. I don't know what the plan is, but if we install the 64-bit SA executables, do we need 64-bit managed DLLs to go along with that? If so, are there any changes we need to make to our projects to get them to work with the 64-bit SA install? Are there any changes we have to make in app.config?
If we don't need 64-bit managed DLLs, how do we get our program to work with the 64-bit install? Again, are there any changes we have to make in app.config?
asked 22 Aug '14, 11:54
These managed files can be used for both bitness. By default, .NET managed code is bitness agnostic meaning that it will run aither as x86, x64 or Itanium depending on the chip and the operating system bitness. Note that SQL Anywhere currently only supports x86 and x64.
This behaviour is controlled by the "Any CPU" Platform option in the configuration manager. You can change this to x32 to force a 32-bit only build, x64 to force a 64-bit only build, or Itanium to force an Itanium only build. In generally, you would leave this at its default value unless you had unmanaged code that was bitness/chipset specific.
answered 22 Aug '14, 13:35