I am trying to set the preferences of the buttons of my palm to point to my
application.
This is my code

        SystemPreferencesType Prefs;
        SystemPreferencesPtr p = &Prefs;

                PrefGetPreferences(p);
                p->hard1CharAppCreator = ScanManAppType;
                p->hard2CharAppCreator = ScanManAppType;
                p->hard3CharAppCreator = ScanManAppType;
                p->hard4CharAppCreator = ScanManAppType;
                p->calcCharAppCreator = ScanManAppType;
                PrefSetPreferences(p);

For some reason this is not working =(
Am I doing somthing wrong?

Thanks

Reply via email to