home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!apple!dlyons
- From: dlyons@Apple.COM (David A Lyons)
- Newsgroups: comp.sys.apple2
- Subject: Re: OpenResourceFile problem...bug?
- Message-ID: <75658@apple.apple.COM>
- Date: 16 Dec 92 02:59:48 GMT
- References: <jmk3.724405703@crux1.cit.cornell.edu>
- Organization: Apple Computer Inc, Cupertino, CA
- Lines: 19
-
- In article <jmk3.724405703@crux1.cit.cornell.edu> jmk3@crux3.cit.cornell.edu (Jay M. Krell) writes:
- >I am creating a resource file with CreateResourceFile. It has normal access:
- >$C3. This works fine.
- >
- >I use OpenResourceFile to open it. If I ask for only write access (2), I get
- >error $4E, access not allowed. If I ask for read and write (3), no problem.
- >[...]
-
- It's working as designed...even though *you* don't want to read any resources
- from the file, the Resource Manager still needs to read the resource map from
- the fork when you open the file (CreateResourceFile wrote the map there).
-
- Asking for write-only on OpenResourceFile just isn't useful.
- --
- David A. Lyons, Apple Computer, Inc. | DAL Systems
- Apple II System Software Engineer | P.O. Box 875
- Internet:dlyons@apple.com | Cupertino, CA 95015-0875
-
- My opinions are my own, not Apple's.
-