Greetings,
My question is: how do you get any use out of the "version" in
PrefSetAppPreferences() if this parameter is not present in
PrefGetAppPreferences() ?
Here are the headers for two functions from Preferences.h in SDK 4:
extern Int16 PrefGetAppPreferences (UInt32 creator, UInt16 id, void
*prefs,
UInt16 *prefsSize, Boolean saved)
extern void PrefSetAppPreferences (UInt32 creator, UInt16 id, Int16
version,
const void *prefs, UInt16 prefsSize, Boolean saved)
My program uses a pdb to associate various types of codes with their
text descriptions (like zipcode:city,state) with categories for
different kinds of codes. All I want to do with Preferences in my
application is remember which category and record was current from one
program run to the next.
thanks in advance,
David M
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/