Re: Resource fork question
Re: Resource fork question
- Subject: Re: Resource fork question
- From: Marc Pergand <email@hidden>
- Date: Tue, 2 Mar 2004 22:17:26 +0100
I was thinking that these icon previews are stored in the resource
fork.
you're right, in a icns resource.
it seems that it isn't possible to copy a file's resource fork from
Cocoa.
No, only carbon API.
How can I copy a file, including the resource fork
You need to copy the two forks.
http://developer.apple.com/samplecode/Sample_Code/Files.htm
(and possibly other metadata)
see
http://developer.apple.com/documentation/Carbon/Reference/
Finder_Interface/finder_interface/data_type_7.html
and for the File
Manager:
http://developer.apple.com/documentation/Carbon/Reference/
File_Manager/index.html
Good luck ;)
Marc.
_______________________________________________
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.