Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Isn't there an OpenResFile where you supply a VRe Keywords: OpenResFile HOpenResFile Message-ID: <52221@apple.Apple.COM> Date: 1 May 91 01:45:25 GMT References: <1655@babcock.cerc.wvu.wvnet.edu> <1991Apr30.070640.744@husc3.harvard.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 24 In article <1991Apr30.070640.744@husc3.harvard.edu> wysocki@husc9.harvard.edu (Christopher Wysocki) writes: >In article <1655@babcock.cerc.wvu.wvnet.edu> un020070@vaxa.wvnet.edu writes: > >>If there is such a procedure, when was it introduced? With >>the MacPlus ROM? > >HOpenResFile is implemented as a glue routine with THINK C, so I'm not sure if >it is in the 128k ROM found in the Mac Plus. I do believe that it is in the >ROM of the Mac II and later machines, though. HOpenResFile was first implemented as glue in MPW 3.0. Symantec incorporated it into their THINK products soon after. HOpenResFile is not in any ROM. However, there is a trap number allocated for it. The glue checks to see if that trap is implemented. If it is, the glue calls it. If not, the glue emulates it. -- ------------------------------------------------------------------------------ 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