If you are building 64-bit binaries, you must pass the define ODBC64. Demoodbc provides an example of this. See the installed file demoodbc.txt and
The demoodbc Application for details.
You must also include the correct compiler switches if you are building 64-bit binaries. For example, to build demoodbc, you would use: