Problem

The 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):