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: Re: Failed to copy Resource Fork??



 Hi 

I am creating a file and then writing raw contents to this file like
 
FILE *fp;
fp = fopen(Audio 1_01,"wb+");

fwrite(DataBuff,SizeToSave,1,fp); 

DataBuff buffer contains the raw contents of file.

But i don't know what i have to do for resource fork. can i have to create resource fork also through programming. Actually i know about File system(HFS,HFS+) where the raw data of a file related to data fork and resouce fork reside on the hard disk.

Plz help me.



On Sat, 30 Jul 2005 Uli Kusterer wrote :
>On Jul 30, 2005, at 7:12:33, darpan kamboj wrote:
>>     I am copying file through programming but i failed to copy  Resource Fork. When i open this file using Hex Editor all the file  contents are right. But the Type/Creator field of file is empty. I  have failed to open the file.
>>
>>How i can sought out the problem?
>
>  How about giving us some actual information about hat you are  doing? What command you are using to actually do the copy would be  the minimal requirement, in my mind.
>
>Cheers,
>-- M. Uli Kusterer
>http://www.zathras.de
>
>

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

This email sent to 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.