Silvia Brunet wrote:
> I am sending this again, because I didnt get any responses before!

Probably because the code looks fine so nobody has any ideas.  You did
get one response earlier on something that looked questionable, but you
fixed that and the problem remains.

>    PrefGetPreferences(p);
>    p->hard1CharAppCreator = 'SCAN';
>    PrefSetPreferences(p);
> 
> For some reason this is not working =(
> Am I doing somthing wrong?

Yes but you can blame the documentation.  I see it now: the
PrefXetPreferences APIs support only the V1.0 set of prefs which didn't
include the hard button mapping.  So your creator id setting is being
ignored when you call PrefSetPreferences.

The API reference suggests PrefSetPreference (new) instead of
PrefSetPreferences (old) but doesn't specifically say the post-1.0
settings don't work at all in it.

I'd suggest you <mailto:[EMAIL PROTECTED]> and ask them to clarify this
in the next documentation release.

-slj-

Reply via email to