Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!apple!portal!sv!daven From: daven@svc.portal.com Newsgroups: comp.sys.mac.programmer Subject: Re: Mystery: where is HOpenResFile Message-ID: <1990Dec12.202519.27433@svc.portal.com> Date: 12 Dec 90 20:25:19 GMT References: <2539@trlluna.trl.oz> Organization: Software Ventures Lines: 21 In article <2539@trlluna.trl.oz> exner@c20.trl.oz writes: >A posting a couple of days back mentioned a function HOpenResFile that >allows one to specify the vRefNum and dirID of the resource file to be >opened. It was just what I was needed, but I couldn't find it documented >anywhere. > >I ended up writing my own, only to get a Think C linker error telling me >HOpenResFile is defined twice - once in my code and once in MacTraps!! > >So, if this is a standard toolbox function, where is it documented, and in >what version of the System did it become available? I don't know of any HOpenResFile, but there is a HFS call named HOpenRF which takes the parameters you mention. -- ------------------------------------------------------------------------------- Dave Newman | daven@svc.portal.com | AppleLink: D0025 Sofware Ventures Corp. | AOL: MicroPhone | CIS: 76004,2161 Berkeley, CA 94705 | WELL: tinman@well.sf.ca.us | (415) 644-3232