"Tilo Christ" <[EMAIL PROTECTED]> wrote in message
news:25315@palm-dev-forum...
> My original plan was to do some clean up tasks, then show my custom alert
dialog, then halt and exit the application. Now I have
> just settled for the sequence SysAlert(myMessage); SysReset(); which first
informs the user and then resets the device.

I assume you mean:
    FrmAlert(myAlert);
    SysReset();

If this only happens for system errors, and not user errors, I don't see how
this is better than:
    ErrDisplay(myMessage);

The latter includes a filename and line number that can be useful in
pinpointing the error when the error message isn't unique. Keeping system
error messages short (and therefore not always unique) is a good idea if
you're trying to minimize code size. Also, the latter includes a Debug
button on debug ROMs. This can be used to attach to a low-level debugger
(like PalmDebugger).
--
Danny Epstein
OS Engineer, Palm Inc.


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

Reply via email to