home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20671 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.1 KB

  1. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: FindFolder() code, please.
  5. Keywords: Macintosh Preference
  6. Message-ID: <1993Jan5.101654.6335@kth.se>
  7. Date: 5 Jan 93 10:16:54 GMT
  8. References: <1993Jan5.025100.386@maths.tcd.ie>
  9. Sender: usenet@kth.se (Usenet)
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. Lines: 21
  12. Nntp-Posting-Host: dront.nada.kth.se
  13.  
  14. In <1993Jan5.025100.386@maths.tcd.ie> tim@maths.tcd.ie (Timothy Murphy) writes:
  15.  
  16. >I'd like to use FindFolder() to find the VRefNum of the Preference folder,
  17.  
  18.  FindFolder ( kOnSystemDisk , kPreferencesFolderType , kCreateFolder ,
  19.   & fss . vRefNum , & fss . parID ) ;
  20.  
  21. However, you will have to use BOTH the dirID _and_ the vRefNum;
  22. using only a vRefNum went out of fashion with system 3.2.
  23.  
  24. Use HCreate and HOpen (under system 6) or FSpCreate and FSpOpenDF
  25. (under System 7)
  26.  
  27. Cheers,
  28.  
  29.                             / h+
  30.  
  31. -- 
  32.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  33.  
  34.    Cookie Jar: Vanilla Yoghurt with Crushed Oreos.
  35.