Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Standard File and Working directories... Message-ID: <54412@apple.Apple.COM> Date: 27 Jun 91 22:59:20 GMT References: <1991Jun26.084825.9019@dartvax.dartmouth.edu> <54370@apple.Apple.COM> Organization: Apple Computer Inc., Cupertino, CA Lines: 24 In article francis@zaphod.uchicago.edu (Francis Stracke) writes: >In article <54370@apple.Apple.COM> keith@Apple.COM (Keith Rollin) writes: > >>There are only two reasons for creating working directories: > >>- If you are launching another application that expects to find its >> location by making a GetVol call. >>- If you are writing a hack that involves part of the system that >> still uses working directories. For example, one person was >> patching StdFile and needed to create WD's. Another person >> wanted to fake out INIT 31 and needed to create WD's. > >Is there some way, prior to Sys7, to open a resource file (i.e., for >resources, not just the resource fork) without a WD? Yes. It's called HOpenResFile. It was included in MPW 3.0, and was documented in a technote about 3 years ago. -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "But where the senses fail us, reason must step in." - Galileo