967606 wrote:Maybe that is misstated but that option is a run time option not a compiler option.
1) Installed 32 bit version of eclipse and compiled with the VM arg -D32 (just to make sure).
This gives me:You can add code that tells you what VM you are running which will tell you whether 32 or 64 bit is running. You should check that value and exit, with a message, if it is not correct. You would do that before attempting to create a connection.
[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application