Compiling Applications
Previous Top Next

Compiling Options
Compiled files can target Windows EXE (desktop), Device EXE (Pocket PC / Windows Mobile) and Smartphone EXE (Windows Mobile Smartphones).

Forced QVGA which is only available when using the optimized compiler, creates device executables that use the double pixel method. This method causes high resolution screens (480x640) to behave as regular screens (240x320). Making it simpler to target VGA and QVGA devices with the same application.
When targeting Forced QVGA, three files will be created: MyApp.exe, MyApp.dll, MyApp.exe.config. All three files should be distributed.

There are two compiling modes:
Optimized compilation - Creates a .Net 2.0 executable. This executable will be much faster and smaller. This is the recommended mode.

Nonoptimized compilation - Creates a .Net 1.0 executable. This mode is available in order to support legacy projects. Merging libraries and embedding images is not supported in this mode.

Merging Libraries
Most libraries will be merged during compilation.
This is the list of libraries that will be merged (only when required):
BinaryFile
Bitwise
ControlsEx
Crypto
Decimal
DesktopOnly
Door
FormLib
Hardware
HTTP
ImageLib
Network
RAPI
Regex
Registry
Serial2
SQL

Embedding Images
Images added with the visual designer will be embedded in the executable.
The ImageList control allows embedding any number of image files in the executable.

Icon
Devices support icons with up to 256 colors.
To choose an icon: Menu - Choose Icon.
Devices cache icons. If you change the icon of an existing file (replacing an existing file), you will have to soft reset the device to see the new icon.