I put a version field in my preferences structure.  After getting the
preferences, besides checking the size, I also check for the current
version.

Regards,

Steve

> -----Original Message-----
> From: Iain Barclay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 25, 2000 9:35 AM
> To: Palm Developer Forum
> Subject: Getting old version of preferences?
> 
> 
> Hi,
> 
> PrefSetAppPreferences lets me set the version number of the 
> application as a
> parameter - but PrefGetAppPreferences has no matching parameter.
> 
> So, how do I get version 3 of my application to check the 
> preferences that
> upgrading users had set in version 2?
> 
> I would like to do this to preserve the registration state, 
> for example, but
> can't find any way to read the prefs that were used before 
> the new version
> was installed.
> 
> Am I missing something?
> 
> Thanks,
> Iain
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to