realbasic-betas.mbox
[Top] [All Lists]

Re: Writing Raw ResourceForks

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Writing Raw ResourceForks
From: Nathan Fisher <virtual1 at pitnet dot net>
Date: Fri, 30 Aug 2002 20:58:45 -0500
Cc: garth at chickensys dot com

We've been requesting this feature since before 1.0 was released. Good luck. I don't think they know how to do it... ;P

There are a few somewhat hard-to-find plugins that will stream resource forks for you, and you can also use some toolbox calls to do it to avoid plugins. Email me if you'd like me to forward them to you. (the toolbox calls have variants for carbonlib and interfacelib, so they should work for 8.6 as well as 9/x, and the plugin is fat+carbon I believe)

- Nathan

On Wednesday, August 28, 2002, at 08:00 AM, REALbasic Developer Releases wrote:

Subject: Writing Raw ResourceForks
From: "Garth Hjelte" <garth at chickensys dot com>
Date: Wed, 28 Aug 2002 01:42:28 -0500

I would like to write raw resource forks - not the individual resources, but just the ability to write raw binary data into the resource fork area.

I am doing this for a custom installer program, where I take a file with data and resource forks, extract and compress each as raw data, store them as resources in the installer program. Then the installer runs on the users
machine and extracts both pieces of data from it's own resource fork,
decompresses them, and writes them as a raw data to the data fork and
resource fork, thus accurately and exactly rebuilding the file.

I use FileLib to do this, but I need to support some 8.6 users, and the
FileLib does not work on these OS's, since the can't use forks.

Is there any standard way of writing a raw piece of data as the entire
resource fork, just like you would do the data fork?

Garth Hjelte
Sampler User


---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-dr-off at lists dot realsoftware dot com>

Subscribe to the digest:
<mailto:realbasic-dr-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>