Hello

We get very rare user reports of the kind
Options => Beam
 - First time I tap it, I get this error: exgErrNoTargetApp
 - Second time I tap it, I get this error: Preferences.c, Line:186, PrefDB
Open Error

What happens is that the call ExgGetRegisteredApplications() fails with the
above errors.

What is even worse is that this problem seems to be unrepairable. (And can
even cause crashes.) Hard reset or even the delete of all apps does not
help. Probably the only thing the user can do is a hard reset and subsequent
delete of the preferences from the desktop.

Probable explanation is this:
The user deleted a registered application incorrectly so that its
registration was not removed. At least this follows from the published Palm
OS sources (they seem to have a bug leaving the prefs database opened).
Additionally, we managed to "construct" such a situation in the described
way.

I would like to know if somebody knows a cure for this situation.

We wrote a procedure that scans the preferences and tries to remove invalid
registrations. It really helped in the case we had here, but I am afraid of
making it public as it relies on undocumented features.

Regards,
    Jan Slodicka


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

Reply via email to