Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!hub!6500stom From: 6500stom@hub.UUCP Newsgroups: comp.sys.mac.programmer Subject: Re: PBHCopyFile wont ! Message-ID: <3354@hub.UUCP> Date: 18 Dec 89 09:04:13 GMT Sender: news@hub.UUCP Lines: 25 From article <707@surf.sics.bu.oz>, by ren@surf.sics.bu.oz (Renato Iannella): > In Inside Mac Vol5 (page 396) 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? ) Oh dear. If only people would read IM. "For AppleShare startup volumes, these calls get installed by an 'INIT' resource patch contained within the AppleShare file. This means that only the startup volumes with the AppleShare file located in its System Fldr will support the shared environment calls. Since the patch currently handles only external file system volumes, making the new calls to local volumes will return with an error; however, the AppleShare external file system code will get all calls made to AppleShare volumes" (V-386) If you're still having problems, even with AppleShare volumes, then maybe you have a case to be whining. / Josh Pritikin T Ignorance is bliss. \ | Internet: 6500stom@ucsbuxa.ucsb.edu | I must be in hell. | | AppleLink: Josh.P | My room is proof that entropi | \ GEnie: J.Pritikin ! exists. /