Straight after installation, the system calls your app with
a special launch code (could be sysAppLaunchCmdSystemReset
or different, I am not sure).
Your application appears to try processing it and crashes
upsetting the whole system.
Make sure, you process only relevant launcher codes:
Typically you have somth like:
UInt32 PilotMain(UInt16 launchCode, MemPtr cmdPBP, UInt16 launchFlags)
{
Err err = 0;
if (launchCode == sysAppLaunchCmdNormalLaunch)
{
....
}
return err;
}
You migh need to process other launcher codes,
but almost certainly not all of them.
M.
-----Original Message-----
From: Brandt Haagensen [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 December 2001 11:34 AM
To: Palm Developer Forum
Subject: install/palm reset error
I am having a problem with installing my application.
After I install it when the hotsync finishes my palm
crashes and asks for reset after reset... It happens
on 3 different palms with sufficient memory. It seems
to happen just when the hotsync is 'cleaning up' if
that is pertinant. Any suggestions would be
appreciated.
Branto
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/