home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!haven.umd.edu!ni.umd.edu!zben-mac-ii.umd.edu!user
- From: zben@ni.umd.edu (Charles B. Cranston)
- Subject: Re: converting the vRefNum and DirID to just a vRefNum...
- Message-ID: <zben-190892212657@zben-mac-ii.umd.edu>
- Followup-To: comp.sys.mac.programmer
- Sender: usenet@ni.umd.edu (USENET News System)
- Nntp-Posting-Host: zben-mac-ii.umd.edu
- Organization: UM Home for the Terminally Analytical
- References: <1992Aug19.182018.29206@nntp.uoregon.edu> <71403@apple.Apple.COM>
- Distribution: usa
- Date: Thu, 20 Aug 1992 01:51:38 GMT
- Lines: 19
-
- eric_gorr@coglab_psych.uoregon.edu (Eric Gorr) writes:
-
- > I have a vRefNum and a DirID and I want to use these two numbers so that I
- > can have just a vRefNum to be used by SetVol.
-
- In article <71403@apple.Apple.COM>, mlanett@Apple.COM (Mark Lanett) wrote:
-
- > HSetVol (volName, vRefNum, dirID)
-
- No, you don't want to do this, please read Technical Note 140,
- "Why PBHSetVol is Dangerous". You want to either create a Working
- Directory and pass it to SetVol or do what Keith Rollin suggested
- and only change the current volume temporarily, so no other piece
- of software can possibly do a GetVol and get incorrect data.
-
- Or maybe this is obsolete information since Desk Accessories are
- now run in their own partition (under MF or System 7)...
-
- zben@ni.umd.edu -KA3ZDF
-