Contents Index Explicitly assigning segments Palm synchronization overview pdf/preface.pdf

UltraLite User's Guide
  Developing Applications for the Palm Computing Platform
    Building multi-segment applications

Assigning user-defined code to segments


Assigning user-defined code to segments is a standard part of programming applications for the Palm Computing Platform. This section is intended as a reminder for Palm programmers.

To assign user-defined code to segments (CodeWarrior)

To assign user-defined code to segments (PRC Tools)

The first segment 

You must ensure that PilotMain and all functions called in PilotMain are in the first segment.

If necessary, you can add a line of the following form before your startup code:

#pragma segment segment-name

where segment-name is the name of your first segment.

For more information on prefix files and segments, see your Palm developer documentation.


Contents Index Explicitly assigning segments Palm synchronization overview pdf/preface.pdf