Most Visual Studio application builds are 32-bit, even when installed on 64-bit Windows.
If your Visual Studio is 32-bit you must use the 32-bit ODBC driver for ODBC communication being done within Visual Studio its self.
You can (and must) still use the 64-bit ODBC driver when doing ODBC communication from 64-bit applications compiled in Visual Studio.
You could also be compiling and running a 32-bit application, even though you're on 64-bit Windows, in which case you must use the 32-bit ODBC driver with it.
Fun, no?