Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!resnick From: resnick@cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: Re: Isn't there an OpenResFile where you supply a VRefNum? Message-ID: <1991Apr30.092548.26555@ux1.cso.uiuc.edu> Date: 30 Apr 91 09:25:48 GMT References: <1655@babcock.cerc.wvu.wvnet.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 28 vrm@blackwater.cerc.wvu.wvnet.edu (Vasile R. Montan) writes: >The usual OpenResFile takes a string as its arguement. This >string is the filename of the resource file to be opened. >Isn't there a newer function which does the same thing, but >which also takes a volume reference number so that the >location of the file can be specified? I seem to remember >reading about such a procedure somewhere, but I can't find >the documentation now when I look. Inside Macintosh IV, p. 17: FUNCTION OpenRFPerm (fileName: Str255; vRefNum: INTEGER; permission: Byte) : INTEGER; >If there is such a procedure, when was it introduced? With >the MacPlus ROM? Yup. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD