I’m a bit new to Mac development, so please bear with me for
my questions.
I’m using the XCODE 3.1 environment and I downloaded the
CFProxySupportTool sample from the API documentation.
The sample wouldn’t compile, there is a new parameter for the
CFNetworkCopyProxiesForAutoConfigurationScript API to have a CFErrorRef passed
in. I fixed the compile error no problem by declaring one and passing the
address of it.
The sample looks like it does everything ok up to calling
this function, and the function returns NULL for the list of proxies and NULL
for the CFErrorRef, and I’m having trouble figuring out what to do next.
I can’t call anything to get more info from the CFErrorRef because there is
none.
Anyone have any experience with this? Is it the new
libraries that came down with XCODE that are causing this problem? In the
documentation I have seen in what’s new for 10.5 it documents the function
without the CFErrorRef parameter, but it won’t compile in the environment I
have.
Thanks in advance for any pointers or help on this one!
alf