I finally found out what caused the problem.   It appears that because I
sent him the test PRC as an email attachment, it somehow got corrupted.  I
asked him to zip it up and send it back to me and when I performed a binary
comparison on a hex editor... there were lots of differences!    I then
zipped the original and sent it to him again.  This time it worked without
any problems.

The lesson I have learned out of this:  Never send a binary file without
zipping it first.  And never install a binary file that you received via
email if it did not come in zipped format!

Thanks to Doug for his insights though... it is still usefull information
for anyone to know.

Werner



Subject: Re: Program crashes during hotsync
From: Douglas Handy <[EMAIL PROTECTED]>
Date: Fri, 28 Nov 2003 08:23:25 -0500
X-Message-Number: 19

Werner,

>He had to do a hard reset in order to recover.

More than likely a "no nontification" reset would have worked with no data
loss.

If you hold down the UP button during the reset, the OS does not send out
notifications (eg launch codes) at the end of the reset.  Generally this
avoids
the problem with looping resets.

At that point you may delete the offending application, and then perform a
normal soft reset and all other data should be intact.  The second reset is
required because Palm OS also skips loading some system libraries such as
the
serial manager, so the device will not fully function until after a normal
reset.

>My feeling is that since
>the program is not even running during the hotsync action... there must be
>something else that might have caused the crash.

I'd check how you are handling launch codes.  It sounds like you do not
intentionally perform processing on syncs, but that does not mean your code
is
ignoring the sync and reset launch codes either...

Doug


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

Reply via email to