Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: could anyone tell me internal structure of resource fork




On Jun 11, 2006, at 10:09 PM, Anurag Singh wrote:

i got the resource fork from a fileby using carbon API's , i have checked it, it's seems good.

But there are some problem , actually i have read documentation about resource fork that i got from apple's site.

http://developer.apple.com/documenta...ml#HEADING99-0

But there are some problem in my resource fork. The offset in resource map table is false for resoutce type list and reference list.

Act i have one resource mean...there is one type and one resource id.

So offset for resource typelist would be 1e(30) but the entry in the resource fork is 1c(28).

Smilary for offset of reference list, entry in the typelist is 0a but it should be 8.

I am not getting what happend actully.

if any know abt it, please let me know what's happend with my resource fork.
 
If i'll get the right strucuture of resource fork then may be  i'll try to find out.
 
please suggest me what i have to do?

In Xcode 2.3 use the /Developer/Tools/RezDet utility to examine resource files (whether resource-fork resource files or data-fork resource files) for correctness.

Do not mistake AppleDouble files (starting with "._") for "resource forks.)  While they contain the resource fork, they contain other information as well, and the actual resource information starts at a different offset.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >could anyone tell me internal structure of resource fork (From: Anurag Singh <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.