• 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: Resource file length?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource file length?


  • Subject: Re: Resource file length?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 2 Apr 2004 19:52:54 +0200

At 12:13 Uhr -0500 02.04.2004, Randall Meadows wrote:
To find out the length of the resource fork of a file, I'm using

(...)
Is that the "approved" way? Or is there a better method?

[And yes, I really have to deal with resource forks; I'm working with legacy files...]

Well, I'm not sure how far this would work on other volumes than HFS+ formatted ones. You may want to look into using the actual Carbon Resource Manager calls to do this instead.

I'm not sure whether Nathan's NDResourceFork class supports measuring resource fork size, but you might want to check that, as they hide all the ugliness of the procedural C APIs quite nicely.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.


References: 
 >Resource file length? (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: Java or Objective-C for Cocoa?
  • Next by Date: Re: Is the internet avaliable question
  • Previous by thread: Resource file length?
  • Next by thread: indexed accessors and NSArrayControllers
  • Index(es):
    • Date
    • Thread