Hi Guys:

Multi-Segment_Read_Me.txt says:

#############################################################################
Segments are numbered from 0.  Segment 0 contains information for the segment
loader and is created by the linker.  Segment 1 contains your application
code and the startup code.  This segment __must__ contain "MSL Runtime Palm
OS (xx).lib", PilotMain(), and any code that is executed when PilotMain()
receives a launch command other than sysAppLaunchCmdNormalLaunch.  This
stipulation is caused by the fact that A5-relative data is not relocated when
the application is called with any other launch code, thus all global
variable addresses will be wrong and cause a crash.
#############################################################################

But I have both a sysAppLaunchCmdNormalLaunch and a sysAppLaunchCmdGoTo in my
project, and, basically, both need the very same functions in the project.

Does that mean that I can't multi-segment my application because
sysAppLaunchCmdGoTo requires that all my functions be in Segment #1?

Also, please tell me which "MSL Runtime Palm OS (xx).lib" I should use if I
use C and not C++?

MSL Runtime Palm OS (4i).Lib or MSL Runtime Palm OS (2i).Lib

Please advise me. Thanks. Best regards, Paul

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to