• 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
Problem calling InternetConfig in Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem calling InternetConfig in Jaguar


  • Subject: Problem calling InternetConfig in Jaguar
  • From: Philippe Martin <email@hidden>
  • Date: Mon, 30 Sep 2002 17:13:01 +0200

My application (IC-Switch) gets and sets InternetConfig helpers by calling ICGetPref and ICSetPref. Everything worked fine with Mac OS X 10.1, but in 10.2, only Carbon and Classic applications are recorded by ICSetPref. It returns noErr for Cocoa applications too, but the change doesn't take.

Using Sampler, I can see that System Preferences still calls ICSetPref when setting a helper to a Cocoa application, but then the changes are stored in com.apple.LaunchServices.plist instead of com.apple.internetconfig.plist, and nothing tells me why. All my calls to ICSetPref result in updating only internetconfig.plist.

And when I set a helper to a Cocoa application from System Preferences and then call ICGetPref from my application, I still get the application's creatorCode as OSType and the application's name as a Pascal string, just like I pass them when I call ICSetPref.

I found that InternetConfig moved to HIServices and I fixed my references accordingly, but I didn't find any mention of a change in ICSetPref's parameters (even in InternetConfig.h). Any idea on what I miss? Any suggestion on how to find it out (like how to intercept System Preferences's call to ICSetPref and see the parameters it passes)?

Thanks!

Philippe
--
______________________________________________________________________
Philippe MARTIN (a.k.a. Flip) mailto:email@hidden
http://www.MacrobyteResources.com http://www.Free-Conversant.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Problem calling InternetConfig in Jaguar
      • From: Diggory Laycock <email@hidden>
  • Prev by Date: MEETING REMINDER: Chicago Cocoa & WebObjects User Group @ Oct. 1, 6:00 PM
  • Next by Date: ImageNamed not refreshing
  • Previous by thread: Re: NSTimer Inaccurate?
  • Next by thread: Re: Problem calling InternetConfig in Jaguar
  • Index(es):
    • Date
    • Thread