Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!tank!nucsrl!bob From: bob@eecs.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: Reading a resource from an already open file Message-ID: <10050013@eecs.nwu.edu> Date: 7 Sep 88 13:04:23 GMT References: <29389@bbn.COM> Organization: Northwestern U, Evanston IL, USA Lines: 10 > I would like to read a resource out of the Desktop file. > Unfortunately, under multifinder it is always open and OpenResFile > always returns error -49. Try using _OpenRFPerm instead of _OpenResFile. It will allow you to specify the read/write access you want for the file, and can return the RefNum of a file already open. (See IM IV-17 for more information) Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU