In a 64 bit Windows system you have to define the data source using the 32 bit version of the ODBC manager if you're running an 32 bit application.
To run the 32 bit version, use for example command prompt and enter:
%windir%\SysWOW64\odbcad32.exe
For more information refer for example to
http://support.microsoft.com/kb/942976[
^]