home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon Wtte)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: FindFolder() code, please.
- Keywords: Macintosh Preference
- Message-ID: <1993Jan5.101654.6335@kth.se>
- Date: 5 Jan 93 10:16:54 GMT
- References: <1993Jan5.025100.386@maths.tcd.ie>
- Sender: usenet@kth.se (Usenet)
- Organization: Royal Institute of Technology, Stockholm, Sweden
- Lines: 21
- Nntp-Posting-Host: dront.nada.kth.se
-
- In <1993Jan5.025100.386@maths.tcd.ie> tim@maths.tcd.ie (Timothy Murphy) writes:
-
- >I'd like to use FindFolder() to find the VRefNum of the Preference folder,
-
- FindFolder ( kOnSystemDisk , kPreferencesFolderType , kCreateFolder ,
- & fss . vRefNum , & fss . parID ) ;
-
- However, you will have to use BOTH the dirID _and_ the vRefNum;
- using only a vRefNum went out of fashion with system 3.2.
-
- Use HCreate and HOpen (under system 6) or FSpCreate and FSpOpenDF
- (under System 7)
-
- Cheers,
-
- / h+
-
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
-
- Cookie Jar: Vanilla Yoghurt with Crushed Oreos.
-