Article View: net.micro.mac
Article #978Re: Writing random bytes to resource fork (1st Base)
From: Larry Rosenstein
Date: Sun, 24 Mar 1985 00:03
Date: Sun, 24 Mar 1985 00:03
16 lines
1463 bytes
1463 bytes
In article <orca.1394> davidl@orca.UUCP (David Levine) writes:
>
>My question: How do you write non-resource-formatted data to the resource fork
>of a file? At the moment, the only language I have is xlisp, but I can
>probably find someone with a C compiler to write the simpleminded program it
>would take to do it... if it's possible at all. Inside Mac is no help
>whatsoever. (It must be possible, because 1st Base does it!)
You can access the resource fork of a file in the same manner as the data
fork by opening the file with the call PBOpenRF (in Pascal) or _OpenRF
(assembler). This is documented in the File Manager Programmer's Guide.
--
Larry Rosenstein
UUCP: {nsc, dual, voder, ios}!apple!lsr
CSNET: lsr@Apple.CSNET
Technical Details
Message-ID:
<36444@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!harpo!decvax!wanginst!ucadmus!harvard!seismo!umcp-cs!gymble!lll-crg!dual!apple!lsrReferences:
<orca.1394>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1.chuqui 4/7/84; site apple.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!harpo!decvax!wanginst!ucadmus!harvard!seismo!umcp-cs!gymble!lll-crg!dual!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: net.micro.mac Subject: Re: Writing random bytes to resource fork (1st Base) Message-ID: <36444@apple.UUCP> Date: Sat, 23-Mar-85 19:03:41 EST Article-I.D.: apple.36444 Posted: Sat Mar 23 19:03:41 1985 Date-Received: Thu, 28-Mar-85 00:08:18 EST References: <orca.1394> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Macintosh Division, Apple Computer Lines: 16