On 2005-03-15, Goran Todorovic <[EMAIL PROTECTED]> wrote:
> Thanks, Bob!
>
> I have several tens of functions in the app, among them only four assigned 
> for the new code segment (one form's event handler + three functions used by 
> the handler).
>  
> So PilotMain() should be inside code#0 segment?
>
> Thanks,
> Goran
>

Just to be a bit pedantic ...
PilotMain is in the code#1 resource of the prc.
If you analyse a prc with PRC-Explorer you see there is always a small 
code#0 resource which contains stack size preference, etc. In fact it is a 
leftover from the original Macintosh resource model used in PalmOS.
In terms of prc-tools. PilotMain should be in the 'normal' segment 
(.text), *not* in one fo the sections declared in the .def file.

Ton van Overbeek


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to