I'm compiling on Windows XP x86, Visual Studio 2008 and told it to build for x86.
It works on the following systems:
Windows 7 Professional x86
Windows Vista Home Premium x86
Windows 7 Professional x64 (my personal pc at home)
I do have Visual Studio installed on my home computer, that installs a slew of data access drivers doesn't it? Maybe I'll run it on there and use sysinternals to work out exactly what dll its using for odbc.
Might want to try creating an installer project to test and check dependencies. Typically I create a new solution based on the blank template (called xyz), then add my app project (xyz.FormsApp) and then a setup project (xyz.install).
The installer application(s) can be used for dependency checking and platform targeting.
Another thing, one can also leverage the microsoft provider model to get a list of providers and then use the SqlConnectionStringBuilder (System.Data) to create a connection string. This can be useful when one is referencing a local database.
Just some thoughts.
Software Engineer (the practice of real science, engineering and management)