Header files

Header files are provided as part of the definition of the MQI, to assist with the writing of WebSphere MQ application programs in the C++ language. These header files are summarized in the following table.

Table 2. C/C++ header files

Filename Contents
IMQI.HPP C++ MQI Classes (includes CMQC.H and IMQTYPE.H)
IMQTYPE.H Defines the ImqBoolean data type
CMQC.H MQI data structures and manifest constants

To improve the portability of applications, it is recommended that the name of the header file should be coded in lowercase on the #include preprocessor directive:

#include <imqi.hpp> // C++ classes


© IBM Corporation 2001. All Rights Reserved