> From: Ng Wei Gee [mailto:[EMAIL PROTECTED]]
> PrefGetPreference(prefShowPrivateRecords);
> However, when I run the program on OS3.3 debug ROMs,
> I get a message stating that "System Preference not found".
> This does not occur on OS3.0, 3.1, 3.5 and 4.0 debug ROMs.
That preference does not exist before 3.5, as documented and as shown in
header Preferences.h. It sounds like 3.3 fires an annoying error message
while other versions just return 0, but the message is actually helpful
here.
> Should I just ignore the warning?
No, you shouldn't attempt to retrieve any preference on an OS version where
it is not supported in the first place. In this case you probably want to
use prefHidePrivateRecordsV33 on OS versions before 3.5.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/