• 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 Fork - is this a good use/the right thing to do?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource Fork - is this a good use/the right thing to do?


  • Subject: Re: Resource Fork - is this a good use/the right thing to do?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 24 Apr 2008 11:34:05 +0200

Am 24.04.2008 um 06:28 schrieb Graham Cox:
On 24 Apr 2008, at 12:59 pm, Chris Suter wrote:
The limits for resource forks are the same as for data forks

Not true - the ResourceMap contains some 24-bit pointers, or at least it used to, as well as some 16-bit length fields as well. Unless these have been changed (possible I guess, I don't know) these will bite you before the file fork limitations do.


I was imprecise in my original statement. I meant what Graham says: The resource FILE format has some limits (offsets and things it uses are 24- and 16-bit quantities, as Graham said. Of course, the resource FORK itself can grow as much as it wants. But that won't help you much, since applications like the Finder expect the resource FORK to contain a valid resource FILE so they can add their own 'usro' resources and such that indicate what app to open a file with. So, for all practical purposes resource FORKS are limited by the format of the resource FILE.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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


References: 
 >Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Jens Alfke <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Uli Kusterer <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Daniel DeCovnick <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Chris Suter <email@hidden>)
 >Re: Resource Fork - is this a good use/the right thing to do? (From: Graham Cox <email@hidden>)

  • Prev by Date: Understaing NSNotificationQueue and IDLE
  • Next by Date: Re: Resource Fork - is this a good use/the right thing to do?
  • Previous by thread: Re: Resource Fork - is this a good use/the right thing to do?
  • Next by thread: Re: Resource Fork - is this a good use/the right thing to do?
  • Index(es):
    • Date
    • Thread