At 10:19 AM +1000 28/7/06, [EMAIL PROTECTED] wrote:
Hi Everyone,

I'm trying to reconstitute a Mac file from an email 'AppleDouble'
attachment. The attachment comes in two halves, the data fork file and a
separate file for the resource fork. I use the data from the first attached
file to create a new file on my hard drive. I now need to write the data
from the second attached file to the resource fork of the new file.

Is there anyway within RealBasic (version 2006r3) of doing this?

I realise that I can write specific resources to a resource fork, but what
I want here is to write the entire resource fork with the binary data
received from the email.

Thanks in advance for any help given.

Tim Barlow
Communications & Information Technology Services
X2317  (62302317)
[EMAIL PROTECTED]

Dear Tim,

I am not sure of the answer but when I was trying to unzip files containing a resource fork and a datafork I had all sorts of problems putting them back together. I did see that Thomas Tempelmann has written some code that deals with reading and writing resource forks. Maybe it'll help you. See http://www.tempel.org/rb/#rsrc and the zip stuff
--

Cheers,

Dr Gerard Hammond
MacSOS Solutions, 505/176 Glenmore Rd, Paddington, NSW, Australia
[EMAIL PROTECTED]     0414 796 709  http://www.macsos.com.au
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to