Is there a limit to the size of data that should be save in
preferences?
I have an app where I want to save the state of that app. It
will require up to 2k.
Could that be saved in unsaved preferences?
Should it be saved in it's own DB?
I already have an app DB for data. What is benefit or penalty for
saving that much data in unsaved preferences?
Now about PrefGetAppPreferences:
The description seems odd.
1) I think PrefGetAppPreferences returns version.
2) is prefsSize a pointer that is used by PrefGetAppPreferences to
know how much to retrieve or is it a pointer where
PrefGetAppPreferences puts the retrieved size.
3) Then the docs say to check prefsSize against the returned value.
That's apples and oranges thing.
Can someone explain this function and the checking necessary. If I
have a Prefs structure that is, say 1000 bytes and my unsaved
Preferences (the acutal data previously saved) is only 500 bytes (as
in you changed the struct size and already had unsaved prefs db), do
I have to check this?
--
-----------------------------------------------------------------
Discussion Group: http://www.halcyon.com/ipscone/wwwboard/
Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------