Problem
The %DB2PATH%\SQLLIB\samples\c directory on windows contains many examples of C routines to extend DB2 or to work with DB2 from C programs. This article describes how to compile the sample code for 64 bit.
Solution
- Set the environment (VC includes the batch file that allows to set the environment variable):
C:\progra~2\micros~2.0\vc\vcvarsall.bat x64
