> At any rate, "MT" clearly shows that tempPrefs and prefsSize are > local variables. And things like appFileCreator and appPrefID are > typically #defines. So I think that fishing for the "globals" reason > is not likely to produce an answer. > > Instead, my bet is with the fact that prefsSize appears to not be > initialized before calling PrefGetAppPreferences.
That's it. This is something which is not said in the Palm documentation -- prefsSize HAS to be initialized before calling PrefGetAppPreferences. -- Florent Pillet, Code Segment [EMAIL PROTECTED] Developer tools and end-user products ICQ: 117292463 Palm, Mac, Unix, Windows http://perso.wanadoo.fr/fpillet -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
