This is an auto generated app from the wizard.
The only change I've made to the wizard output is to add a case
statement to catch the reset event. If I start the prc normally, it runs
fine. If I start it with a reset, it gets a memorymgr.c error, line 4372
non-word-aligned handle.
Why the difference.
switch (cmd)
{
case sysAppLaunchCmdSystemReset:
case sysAppLaunchCmdNormalLaunch:
error = AppStart();
if (error)
return error;
/*
* start application by opening the main form
* and then entering the main event loop
*/
FrmGotoForm(MainForm);
AppEventLoop();
AppStop();
break;
}
Phil Barnett
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/