Hi,

I have an app. that needs to respond the sysAppLaunchCmdSystemReset launch
code by displaying a dialog box and prompting for some user input. My code
looks like this:

FormPtr              dialog;
UInt16               button;

dialog = FrmInitForm(reset_form);
button = FrmDoDialog(dialog);
FrmDeleteForm(dialog);

The form "reset_form" is defined as a non-modal form. I do not have any
global variables in my code.

On OS 3.5, this works prefectly. However, on OS 3.1 it bombs on the
FrmInitForm call, and says the app. "read directly from low memory". Anybody
know what I need to do differently to make this work in OS 3.1? Thanks in
advance!

Tom


-- 
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