home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!comp.vuw.ac.nz!actrix!David.Empson
- From: David.Empson@bbs.actrix.gen.nz
- Subject: Re: Resource Manager
- Organization: Actrix Information Exchange
- Date: Sat, 14 Nov 1992 02:06:15 GMT
- Message-ID: <1992Nov14.020615.16162@actrix.gen.nz>
- References: <9231714.22562@mulga.cs.mu.OZ.AU>
- Sender: David.Empson@actrix.gen.nz (David Empson)
- Lines: 22
-
- In article <9231714.22562@mulga.cs.mu.OZ.AU> robm@ecr.mu.OZ.AU (Robert Mueller) writes:
- >
- > I wish there was a resource manager call "CompressResFork" or
- > something like that. Since this doesn't yet exist, or doesn't
- > look like it ever will, does anyone have some source (only if
- > it's relatively small) that will do this?
-
- The only "official" method of compressing the resource fork involves
- creating a new resource file, copying the resource one at a time to
- the other file, emptying the original resource fork (by setting its EOF
- to zero) then copying the new file back to the original one.
-
- This would have to be surrounded by _very_ careful resource file
- opening/closing, to avoid serious problems.
-
- Another method would be to directly access the data structures in the
- resource fork, but this is not a task for the faint of heart. :-)
- --
- David Empson
-
- Internet: David.Empson@bbs.actrix.gen.nz EMPSON_D@kosmos.wcc.govt.nz
- Snail mail: P.O. Box 27-103, Wellington, New Zealand
-