A suitable C Compiler is required to build your application. Testing has been performed using the Microsoft Visual C++ v6 Environment.
Your application needs to link against HMQ_bindingsAPI.lib and HMQ_bindingsCnst.lib. Linking against HMQ_bindingsCnst.lib is only required if you wish to use MQeString Constants. Also, in the Project Settings dialog:
The main header file that is required needs to be included as follows:
#include <published\MQe_API.h>
You also need to set a prepreocessor definition:
#define BINDINGS
You can either set the preprocessor definition in the compiler project settings or define it before including the MQe_API.h file. If this is not defined when the code is compiled, an error is returned.
Ensure that your compiler is set to enable this header file to be picked up. Note that the published directory prefix is required. This header file includes all the other headers that might be required. For example, if you are running Microsoft Visual C++, include the paths to the C Bindings header and library files as follows:
You need to set up the Windows System Path to point to the C Bindings DLLs from the Windows Control Panel or the Command Prompt.