For the C Bindings codebase see C Bindings Programming Guide - Getting Started.
For general information see C API Programming Reference, in particular the page Compilation Information, however that page is now a little out of date, and this topic provides an update.
The root of the binary files, as well as the documentation and examples, is the C directory below the directory where you choose to install MQe.
Then in the C directory, the files are located as follows:-
The header files are common to all the Native platforms, and may be found in the include directory below the installation directory.
This is the "root" header file. If this is included all relevant header files will be included for you.
#define NATIVE // or specify this as an option to the compiler #include <published/MQe_API.h>
You should link against the following two libraries:-
Generally you should include both these files. Then an optimizing linker should remove links to any functions and constants you have not used.
The other MQe libraries are statically and dynamically linked with the main API library and will be included as required.
Parent topic: Prerequisites