Re: Resource file length?
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.