BrownB wrote:
Hello everybody, I need help on multisegmenting my app. I've 2 segments, and the main
one .TEXT grew too much. I tried to associate some functions in this segment to the
second segment, but errors happens with PalmOS5 on TungstenT3: it seems some NORMAL
functions can't be relocated (with NORMAL I want to indicate the functions which
accesses to globals when the globals are accessible). How must I choose the functions
to relocate? For example, is it possible that graphic functions can't be relocated
when working on native coordinates? I can't understand why some functions go on
working when relocated, and some other ones cause errors.
Thanks for help,
BrownB
There's nothing wrong with calling global variables from a segment.
What you are probably seeing is that you are running your app from a
non-LaunchNormal launch code, so global variables are not available, but
neither are segments, so moving functions to another segment won't
help. Bob.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/