Re: SCPreferencesSynchronize not doing its job
Re: SCPreferencesSynchronize not doing its job
- Subject: Re: SCPreferencesSynchronize not doing its job
- From: email@hidden
- Date: 14 Dec 2006 09:04:08 -0000
- Encoding: 8bit
> How does your code pick up the changes? Specifically, does your
> application use the SCPreferences APIs to access the changed data? or
> are you looking for the changes with an alternate set of APIs?
After the tool has run the application does the following repeatedly:
SCPreferencesCreate -> SCPreferencesSynchronize -> SCPreferencesGetValue(prefs, kSCPrefNetworkServices) ->iterate through array looking for key -> CFRelease(prefs)
> Does your application make any blocking calls which might delay when
> you pick up the SCPreference notification?
I do call wait() after AEWP() since the thread can't do anything else until it finishes.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden