• 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
Re: FSCatalogInfo randomness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSCatalogInfo randomness


  • Subject: Re: FSCatalogInfo randomness
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 30 Oct 2007 14:36:22 +0000

On 30 Oct 2007, at 14:27, Uli Kusterer wrote:

What about checking the return values of these functions? Probably one of them is returning some error that you aren't aware of, and isHidden is then set based on arbitrary data in an un-initialized FSCatalogInfo struct.

See <http://www.zathras.de/blog-carbon-for-the-cocoa-guy- oserror.htm> for a description of how to interpret the return values from FSGetCatalogInfo, FSPathMakeRef and LSCopyItemInfoForURL.

It isn't strictly speaking a Cocoa question, but---since you bring that up---is there a function anywhere that will convert a Carbon error number into a meaningful (NS-)string? Or a database, perhaps, of OSStatus return codes? It'd be really handy to be able to look them up quickly without playing the hunting-about-in-the-system- headers game.


Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: FSCatalogInfo randomness
      • From: Uli Kusterer <email@hidden>
    • Re: FSCatalogInfo randomness
      • From: "Finlay Dobbie" <email@hidden>
    • Re: FSCatalogInfo randomness
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >FSCatalogInfo randomness (From: email@hidden)
 >Re: FSCatalogInfo randomness (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: FSCatalogInfo randomness
  • Next by Date: Re: FSCatalogInfo randomness
  • Previous by thread: Re: FSCatalogInfo randomness
  • Next by thread: Re: FSCatalogInfo randomness
  • Index(es):
    • Date
    • Thread