C development

To develop programs in C, using the WebSphere MQ Everyplace Development Kit, you need the following tools:

Microsoft eMbedded Visual C++ (EVC) Version 3.0.
This is included in Microsoft eMbedded Visual Tools 3.0, which is available as a free download from the Microsoft web page:
http://msdn.microsoft.com/mobile/
You must use version 3.0 as version 4.0 does not support PocketPC.

An SDK for your chosen platform
Microsoft eMbedded Visual Tools 3.0 includes an SDK for PocketPC 2000. You can also download an SDK for PocketPC 2002 from Microsoft:
http://msdn.microsoft.com/mobile/

Compilation information

The two main subdivisions of the native C codebase are code for PocketPC 2000 and code for PocketPC 2002. For both, there are binary files for the actual device and also for the emulator. Binary files are compiled for the ARM processors.

Binary files

The root of the binarie, as well as documentation and examples, is the C directory, found in the main installation directory. This contains directories for the examples, documentation, and separate directories for PocketPC 2000 and 2002.

PocketPC 2002

PocketPC 2000

Using eMbedded Visual C++

You can compile applications using the EVC Integrated Development Environment (IDE), or optionally, from the command line. However, you must consider the following:

We recommend that you develop applications using the PocketPC or PocketPC2002 emulator as this typically provides a faster compilation and debug environment. However, current emulators are API emulators, meaning that they do not emulate ARM hardware. They emulate PocketPC API calls, but the code is still x86, that is running in an x86 virtual machine in the PocketPC 2002 emulator case. Therefore, we recommend that you regularly test the application on the real target device, as many problems such as byte-alignment only becomes apparent on the real device.

Note:
WebSphere MQ Everyplace emulator binaries are provided only for development purposes and are not suitable for deployment into a production environment.


© IBM Corporation 2002. All Rights Reserved