> >I can't for the life of me figure out why this is being
> >caused, since this occurs as HotSync ends. In other
> >words, I have not even launched my app, how can it be
> >reading anything?!
I think you need to read the manuals a little more.
But Ben gave you the answer, so maybe you don't.
> One way to figure out your crash is:
Another way to figure it out is to debug it with POSE as
you normally would, but instead of doing anything, leave
the application (Don't turn off the debugger! Just hit
the Applications icon.) and do a find. It will launch
your application with a different launch code
(sysAppLaunchCmdFind), which also doesn't have access to
globals. That way, the debugger should break you right
on to the failing line.
If I had to guess, I would bet that you don't check the
launch code. You should really have some code in your
PilotMain that looks like this:
/* Ensure that this is a normal launch */
if ( cmd == sysAppLaunchCmdNormalLaunch )
{
/* Do your real stuff here! */
}
else
{
/* Handle other launch codes here. */
}
Later,
Blake.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/