Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!quads.uchicago.edu!jcav From: jcav@quads.uchicago.edu (john cavallino) Newsgroups: comp.sys.mac.programmer Subject: Re: Standard File and Working directories... Message-ID: <1991Jun27.192328.21272@midway.uchicago.edu> Date: 27 Jun 91 19:23:28 GMT References: <1991Jun26.084825.9019@dartvax.dartmouth.edu> <54370@apple.Apple.COM> <1991Jun27.182325.3166@ni.umd.edu> Sender: news@midway.uchicago.edu (NewsMistress) Organization: University of Chicago Lines: 18 In article <1991Jun27.182325.3166@ni.umd.edu> zben@ni.umd.edu (Ben Cranston) writes: >Before System 7 it was necessary to create a WD if you wanted to open a >resource file with the resource manager. Neither the old OpenResFile nor >the newer OpenRFPerm routine takes a directory ID. Now that System 7 is >here there is an HOpenResFile that is very much like OpenRFPerm with an >added DirID parameter. This is not correct. _HOpenResFile and _HCreateResFile were introduced as glue in MPW 3.0. The newer versions of the THINK languages have the glue also. It works fine under System 6.x, and probably under any HFS system. Plus, you could always have called _SetVol or _HSetVol (yes, I know) before calling _OpenResFile. -- John Cavallino | EMail: jcav@midway.uchicago.edu University of Chicago Hospitals | USMail: 5841 S. Maryland Ave, Box 145 Office of Facilities Management | Chicago, IL 60637 B0 f++ c+ g+ k s+(+) e+ h- pv (qv) | Telephone: 312-702-6900