Re: Resource fork question
Re: Resource fork question
- Subject: Re: Resource fork question
- From: Frank Midgley <email@hidden>
- Date: Tue, 2 Mar 2004 13:33:12 -0600
On Mar 2, 2004, at 11:41AM, Peter Schols wrote:
- Is the photoshop icon preview stored in the resource fork?
No, I think it's in the invisible .DS_Store file in the same directory
as the file. If the FSCopyObject code below doesn't already handle it
you'll probably need to use Carbon API's to get and then set the custom
icon.
- How can I copy a file, including the resource fork (and possibly
other metadata) using Cocoa calls (if possible) or using Carbon (if
there are no Cocoa options available).
The Carbon FSCopyObject sample code does this:
http://developer.apple.com/samplecode/Sample_Code/Files/
FSCopyObject.htm
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.