Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!basser!metro!bunyip!lance!surf!ren From: ren@surf.sics.bu.oz (Renato Iannella) Newsgroups: comp.sys.mac.programmer Subject: PBHCopyFile wont ! Message-ID: <707@surf.sics.bu.oz> Date: 18 Dec 89 00:13:59 GMT Reply-To: ren@surf.sics.bu.oz (Renato Iannella) Organization: School of Info. & Computing Science, Bond University, Australia. Lines: 19 In Inside Mac Vol5 (page 369) it describes the low level file manager function PBHCopyFile. I've had NO luck in getting this function to work. I know the full filename of the source and destination files and vrefnum's. I can set up working directories OK, but when I call the PBHCopyFile function it always returns a -50 error (error in user parameter list). ( One thing to note is that ioFileName parameter is incorrect and should be ioNamePtr -- is this right Apple? ) Any help from someone who has used this function would be greatly appreciated! ThanXs, Renato Iannella --- Info & Comp Sciences, Bond University, Australia, 4229 Voice: +61 75 953381 ARPA,Bit: ren%kowande.bu.oz.au@uunet.uu.net Fax: +61 75 953320 Internet: ren@kowande.bu.oz.au