Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stale Preferences problem



Hello,

I have a daemon that uses CFPreferences to get settings that have been
set by a prefs-setting application. This works fine except when the
prefs-setting app is used while the daemon is running. The daemon does
not seem to recognize changes to preferences made while it is running,
even though CFPreferences changes made in the prefs-setting app get
written to the disk, and the pref-setter can quit and restart and the
new settings are there, but still the old settings show up in the
daemon, I have to quit and restart the daemon for the new settings to be
read. It is acting like there is a stale copy of the preferences in
memory.

Is it a requirement that an application quit and restart to get
up-to-date CFPreferences results? Am I missing some way to force an
update so the calls to the CFPreferences functions return the current
settings?

Thanks,
Michael
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.