Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Launching application returned in an SFReply record. Keywords: Launch,directory,SFReply Message-ID: <1990Aug15.141734.19116@eng.umd.edu> Date: 15 Aug 90 14:17:34 GMT References: <25810@cs.yale.edu> Sender: news@eng.umd.edu (The News System) Distribution: usa Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 16 In article <25810@cs.yale.edu> braun-eric@CS.YALE.EDU (Eric E. Braun) writes: >Im having difficulty implementing the transfer function... Works >Fine when I give _launch the full pathname of the application to launch >but when I get the file name from SFGetFile tack a ':' onto the front >of it and then call PBOpenWD (which returns with no err condition) with: > pb.ioWDDirID = CurDirStore > pb.ioRefNum = SFReply.vRefNum I assume you mean pb.ioVRefnum-- ioRefnum != ioVRefNum > pb.ioWDProcID = my application's signature I don't think you are supposed to set ioWDProcID to anything but 'ERIK' any more, but that isn't your problem. You need to not only open the directory, you need to SetVol to it. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?