Just to add to what Jay Ts was saying, and if you are infact trying to create a "fatal alert" then you can add the SysReset (I think it is) function to reset.
-Donald "Jay Ts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > mcore wrote: > > > > Trying to get the ErrDisplay() function to work. It works right on the > > simulator and emulator, but when I run my app on an actual device > > ErrDisplay() calls just seem to immediately reboot/reset it. Is this > > function only meant for emulator or what? I thought it should bring up an > > error message then give you the option to reset. > > I think that ErrDisplay() and other similar calls are > supposed to reset the device, while in the simulator it > pops up a dialog. However, this is not very well documented > in the Palm OS Programmer's API Reference. > > Try using an alert instead. You need to create an Alert > resource in the Resource Editor, then use the alert > like this: > > void show_alert(char *msg) > { > FrmCustomAlert(InfoAlert,msg," "," "); > } > > ... > > show_alert("<Your Message>"); > > Very simple, actually. > > Jay Ts > -- > Author of Using Samba, 2nd edition > Published by O'Reilly Media > http://www.oreilly.com/catalog/samba2/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
