I only handle the sysAppLaunchCmdNormalLaunch, following is the pilotmain()
code:

UInt32 PilotMain
(
 UInt16 uwCmd,
 MemPtr cmdPBP,
 UInt16 uwLaunchFlags
)
{
    Err  error;

    switch (uwCmd)
    {
        case sysAppLaunchCmdNormalLaunch:

            error = startApplication();
            if (error)
               return error;

            FrmGotoForm(ListForm);

            eventLoop();

            stopApplication();

            break;

        default:
            break;
    }

    return errNone;
}


"Dave Lippincott" <[EMAIL PROTECTED]> ???? news:[EMAIL PROTECTED]
>
> Is your app responding to the sysAppLaunchCmdSyncNotify?  Make sure it is
> not doing something forbidden during that time. (access globals, etc)
>
> ----- Original Message -----
> From: "Sean Yang" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Friday, July 25, 2003 4:40 AM
> Subject: the pam is crashed when HotSync?
>
>
> > Hi,
> >
> > I wrote a application, it used 2 databases that have the same create id
> with
> > the application, but when hotsync, my application will crash the palm at
> > 'Clearing up, please wait...'. In the
> > simulator, I got the error message(pls look the accessories):
> >
> > I have tried to check my codes and complie options, but I still cannot
> find
> > the reason.
> >
> > Could you help me?
> >
> > Thanks!
> >
> > Sean Yang
> > Jul, 25, 2003
> >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to