Hi,
Is there a good way to debug this, I noticed on a prvious post you
suggested using "launch as a subroutine" with the
sysAppLaunchCmdSyncNotify, to see where the problem occurs. I did try that,
the app will not launch then using the emulator, does not really provide
any debug info though. I also created a new app using the CodeWarrior
Wizard, it also would not run in the emulator using the  "launch as a
subroutine" with the same launch code as noted above.

Thanks
Jeff


                                                                                       
                                                               
                      Ben Combee <[EMAIL PROTECTED]>                                   
                                                             
                      Sent by:                                To:       "Palm 
Developer Forum" <[EMAIL PROTECTED]>                       
                      [EMAIL PROTECTED]        cc:                                     
                                                
                      .palmos.com                             Subject:  Re: Cleaning 
up - Please Wait                                                 
                                                                                       
                                                               
                                                                                       
                                                               
                      06/14/2004 09:53 AM                                              
                                                               
                      Please respond to "Palm                                          
                                                               
                      Developer Forum"                                                 
                                                               
                                                                                       
                                                               
                                                                                       
                                                               




At 09:45 AM 6/14/2004, you wrote:
>Hi,
>I have an application that when I install it via Hot Sync, it will hang
>and stay at the message, Cleaning - up Please Wait. Only a hard reset will

>bring it out.
>I have seen a previous post that mentioned not handling some launch codes
>correctly, like sysAppLaunchCmdHandleSyncCallApp, or
sysAppLaunchCmdSyncNotify.
>This project was started with the Code Warrior wizard so the only launch
>code handled is, sysAppLaunchCmdNormalLaunch in PilotMain();. To test this

>problem I have added cases to deal with the above mentioned launch codes,
>nothing in the case except a return 0;, that made no difference.
>What needs to be added to the code to handle those launchs, if that is
>even the problem.

You need to also make sure you don't do anything that uses global variables

before you determine that the launch code is valid.  Accessing a global
under other launch codes can hang the device.


-- Ben Combee, DTS technical lead, PalmSource, Inc.
    Read "Combee on Palm OS" at http://palmos.combee.net/



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






Although this e-mail and any attachments are believed to be free of any virus or other 
defect which might affect any computer system, it is the responsibility of the 
recipient to check that it is virus-free and the sender accepts no responsibility or 
liability for any loss, injury, damage, cost or expense arising in any way from 
receipt or use thereof by the recipient.

The information contained in this electronic mail message is confidential information 
and intended only for the use of the individual or entity named above, and may be 
privileged.  If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this communication 
is strictly prohibited.  If you have received this transmission in error, please  
contact the sender immediately, delete this material from your computer and destroy 
all related paper media.  Please note that the documents transmitted are not intended 
to be binding until a hard copy has been manually signed by all parties.
Thank you.

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

Reply via email to