On 03.06.2012, at 16:24, Christian Schmitz wrote:

> 
> Am 03.06.2012 um 16:07 schrieb Beatrix Willius:
> 
>> The code by itself is working fine. However, for testing I need to change 
>> the value by hand in XCode. Then the change doesn't "take" and I still see 
>> the old value in  the debugger. Even after saving, quitting XCode, and 
>> double-checking the value.
>> 
>> Any clue what is going on here?
> 
> 
> CFPreferences keeps value in memory. Normally you call synchronize from time 
> to time to keep them in sync with files in preferences folder.

Between runs of the app? When I edit the data in XCode?

I do synchronize the data in the main application with

If theCFPrefs.AppSynchronize(theCFPrefs.kCFPreferencesCurrentApplication) Then 

but how does this apply here? Or should I simply call this before reading the 
value I need?

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to