All,
I have been banging my head on this one for a while, and I just don't seem
to understand. I am trying to get the system preference for the BeamReceive
Status. I am making the following call:
bBeamReceive = PrefGetPreference(prefBeamReceive);
Which does return 0/1, however it does not correspond to the setting
displayed in the Preferences
panel. And if I programmatically set the value, (with the following), the
value does not change in the preference panel.
... SNIP ...
bBeamReceive = PrefGetPreference(prefBeamReceive);
PrefSetPreference(prefBeamReceive, !bBeamReceive);
bTest = PrefGetPreference(prefBeamReceive);
if (bTest != bBeamReceive)
{
//This is always true But it does not change the value displayed
in the preference panel
}
... SNIP ...
What is going on?? After looking at the OS source this looks like the right
preference, does the preference panel store this info in another location?
Thanks,
Doug
___________________________
Douglas E. Morrison
Sr. Software Engineer
Riverbed Technologies
[EMAIL PROTECTED]
http:://www.RiverbedTech.com