For general information see C Programming Reference, in particular the page Compilation Information, however that page is now a little out of date, and this topic provides an update.
Support for the WebSphere® MQ Everyplace® C DLLs on WinCE .NET 4.2 is provided using the Platform Invocation Services provided by the .NET environment.
For PocketPC, binaries are provided for both the device, and the emulator that is available in the Integrated Development Environment Microsoft® Embedded Visual C++. The binaries provided for the devices are compiled for ARM processors.
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.