• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CFProxySupportTool sample andCFNetworkCopyProxiesForAutoConfigurationScript API change?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFProxySupportTool sample andCFNetworkCopyProxiesForAutoConfigurationScript API change?


  • Subject: CFProxySupportTool sample andCFNetworkCopyProxiesForAutoConfigurationScript API change?
  • From: "Alfred J. Eisenberg" <email@hidden>
  • Date: Thu, 17 Jul 2008 18:11:10 -0400
  • Thread-topic: CFProxySupportTool sample andCFNetworkCopyProxiesForAutoConfigurationScript API change?

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

 

 

 

 

 

 

 

 

 _______________________________________________
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

  • Follow-Ups:
    • Re: CFProxySupportTool sample and CFNetworkCopyProxiesForAutoConfigurationScript API change?
      • From: Quinn <email@hidden>
  • Prev by Date: Re: protocol plumbing
  • Next by Date: how to implement kCFStreamCanWrite event of f CFWriteStreamWrite
  • Previous by thread: Help With SCNetworkConfiguration!
  • Next by thread: Re: CFProxySupportTool sample and CFNetworkCopyProxiesForAutoConfigurationScript API change?
  • Index(es):
    • Date
    • Thread