Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Compilation Information

The compiler needs to find the include files in the \aCBindings. It also need to find the lib files for libraries to link against. These are installed in the \aCBindings\lib directory.

When linking two lib files are required. These are HMQ_bindingsAPI.lib and HMQ_bindingsCnst.lib. Note the addition of the "bindings".

Files

   #define BINDINGS        // or as a option on the compiler 

   #include <stdio.h>
   #include <published\MQe_API.h>

You need to link against the following two libraries:

HMQ_bindingsAPI.lib, this is the library for the API. HMQ_bindingsCnst.lib this is a static library that contains the constant MQeStrings. Generally you should include both these files. Optimizing compilers should remove links to any functions and constants that you have not used.

You should use the same C Runtime as the underlying Java VM. For Sun and IBM JDKs this is the MultiThreaded DLL C Runtime (MVSRCT).


Generated Thu Aug 11 23:41:24 2005 for Websphere MQ Everyplace for Multiplatforms C Bindings Reference