Goran Todorovic 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).


That's a safe way to go about it. Once you get the segmentation working correctly then you can move whatever functions you want into that segment.


So PilotMain() should be inside code#0 segment?


Right, but it sounds like you haven't made any segment declaration for that function, so that probably isn't the cause. Try commenting most of the stuff out of your PilotMain function to see if you can get it to run, then, progressively, add the lines back in until the problem starts happening again.

Bob.

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

Reply via email to