Hi!
This might be related to my earlier question about try-catch.
I found out that all of my error conditions fall into three classes:
1) I made a mistake during programming
2) The device is unsuitable for execution of my software (wrong ROM,
wrong display)
3) I run out of memory
In all three cases, it wouldn't make any sense to continue the execution
of the software (which might save me the work to write elaborate
try-catch constructs). So my question is now:
How do I bring my program to an immediate halt? Much like
ErrFatalDisplay does it, but without a dialog? What kind of resources do
I have to clean up manually before halting my program? Do I need to
close databases, release handles? Or is this done automatically by
PalmOS if the software is left through a fatal exception?
Also, what can affect the amount of free RAM during runtime? Is it safe
to assume that if the device has a sufficient amount of free memory at
the startup time of my software that this fact will not change?
Sincerely,
Tilo Christ
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/