You may be running into problems with stack limits...
Add the following and re-compile.

#pragma warn_stack_usage 100

This make CW issue a warning if the stack usage is above 100 bytes. By
default you get a 4k stack, but this can be increased.

Also the way CW manages the stack can be tweaked with the following pragma:-
#pragma stack_cleanup on

see http://www.ajw.com/cwstack.htm for more info.


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

Reply via email to