Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!lsr@Apple.com From: lsr@Apple.com (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Isn't there an OpenResFile where you supply a VRefNum? Message-ID: <13253@goofy.Apple.COM> Date: 30 Apr 91 22:47:22 GMT References: <1655@babcock.cerc.wvu.wvnet.edu> <1991Apr30.092548.26555@ux1.cso.uiuc.edu> <52201@apple.Apple.COM> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 19 In article <52201@apple.Apple.COM>, nerm@Apple.COM (Dean Yu) writes: > > In System 7, there's also: > > FUNCTION HOpenResFile(vRefNum: INTEGER;dirID: LONGINT;fileName: Str255; > permission: SignedByte): INTEGER; > PROCEDURE HCreateResFile(vRefNum: INTEGER;dirID: LONGINT;fileName: Str255); I think these are glue in MPW. (See Tech Note #214.) But System 7 does have FSpOpenResFile and FSpCreateResFile that take FSSpecs. Larry