(You still mean "multi-SECTION", not "multi-segment".)
rguevara <[EMAIL PROTECTED]> wrote:
> according to page of the PRCtools, the Pilotmain and the functions
> that calls directly must go in the first segment, but single those of
> first level of call. Because but all the program would go in the same
> segment and segmentacion would not have sense. Some idea?
Here is the quotation from the documentation:
[Y]ou must not attempt to call between different sections when
globals are not available.
In particular, all functions in your application called while
processing a launch code that doesn't give you globals must be
in the main code section. This always includes PilotMain, which
is always called by the startup code for all launch codes.
What you are missing is *while processing non-globals launch codes*.
Yes, the whole program used while processing non-globals launches must
all go in the same (main, default) section. There's no surprises there.
(And Dave's belief is simply a restatement of that quotation.)
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/