Hello,

whether I want or not, the users force me to continue this subject. (Funny,
at least one user existed for nearly 2 months with this bug.)

By looking into Palm OS sources there is an apparent bug in
ExgGetRegisteredApplications(): Unsaved prefs are left open if a
non-existing viewer is registered. Looks like this was the only way how the
problem can happen.

This problem is manifested in applications that behave consistently acc. to
Palm recommendations, i.e. do not register themselves voluntarily, but let
the user select from a list of available handlers. (E.g. our viewer, but
also some email apps.)

Beam send/receive realized via ExchMan is probably safe (at least for
conventional schemes).

The question is how does this situation happen.

A simple possibility:
Register a viewer and then delete it (as a database) using some file
manager. (The question: Should the low level file manager try to handle high
level things, i.e. take care about the consistency of the preferences?)

You said, that it is enough when the viewer is installed to the card. Well,
I tested it with ZLauncher: It creates a RAM stub, which is just enough to
trick the system - hence no problem. A user having Launcher X and standard
T3 launcher reports this problem once the viewer is installed to the card.
(Unfortunately, I did not test these launchers.)

Can you comment it, please?

With best regards,
    Jan Slodicka




----- Original Message ----- 
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, June 21, 2004 7:00 PM
Subject: Re: exgErrNoTargetApp and inconsistent prefs


> At 06:32 AM 6/21/2004, you wrote:
>
> >Thanks for the answer.
> >
> > > You can also do this manually using RsrcEdit or some other
> >Below is the code that we intend to use. However, it does not solve the
> >problem of the opened prefs database.
>
> No.  The only way to solve that is to reset the device.  I'd suggest that
> your code to a device reset if you fix any bogus entries to make sure
> things are in a sane state.
>
> >It will be a feature of our file manager. I am quite interested in your
> >tool. It would be good if we use similar UI in order not to confuse the
> >user. (Or maybe we could just refere to your tool.) We intend to publish
it
> >as a menu option 'Repair Exchg Manager Preferences".
>
> Very good.  I'm still planning on doing a standalone tool, but the code
> will likely be very similar to your code.
>
> -- 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/


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

Reply via email to