Question

I have a desktop application in vb.net which runs fine in Windows XP but after installing the application on Windows 7 64 bit its not able to run. The 32 bit ODBC does show the driver for DB2 connection(Version 9.7) but the version 64 bit of ODBC does not show it.I connect to DB2 using System DSN in Windows XP and tried the same in Windows 7 as well.

Thus i have to explicitly provide the information in the code itself to call the 32 buit version of it. Need help. Do let me know if there are some changes to be done in application just than calling.

Ashu!

Was it helpful?

Solution

You cannot mix 32-bit code and 64-bit code in the same process.

If you want to use 32-bit ODBC, you must mark your process as x86-only.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top