home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!grobbins
- From: grobbins@Apple.COM (Grobbins)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: How do I find the Preferences folder?
- Summary: FindFolder uses the System folder for prefs under Sys 6
- Message-ID: <71374@apple.Apple.COM>
- Date: 19 Aug 92 08:18:48 GMT
- References: <D88-JWA.92Aug11150248@black.nada.kth.se> <Bt5nwv.9n@grayhawk.rent.com> <D88-JWA.92Aug18233002@dront.nada.kth.se>
- Organization: Macintosh Software Architecture Division
- Lines: 27
-
- In article <D88-JWA.92Aug18233002@dront.nada.kth.se> d88-jwa@dront.nada.kth.se (Jon W{tte) writes:
- >> rich@grayhawk.rent.com (Richard Harms) writes:
- > Doesn't 6.0.X have a better way to do this than having to hard-code the name
- > Preferences which might (will) fail on some International systems?
- >
- >Nope, the official word is:
- >1) For system 6, use the name "Preferences" NO MATTER WHAT
- >COUNTRY YOU ARE IN. ...
- >2) Under system 7, be SURE to use FindFolder for the kPreferencesFolderType
- >and DON'T depend on the name of the folder.
-
- I generally recommend that applications use the FindFolder glue under
- System 6, or at least imitate it. FindFolder returns the dirID of the
- System folder under System 6 rather than attempt to make a preferences
- folder. So under System 6, just put preferences where FindFolder says
- the proper place for them is, the System folder.
-
- Under System 6, the FindFolder glue will also return the dirID of the
- System folder for most of the other "special" System 7 folders (Extensions
- and so forth.) Clutter is endemic to System 6, and there really is no
- standard for avoiding it. You can just punt the issue by using FindFolder
- under System 6 as you would under System 7, and leaving it at that.
-
- Grobbins grobbins@apple.com
-
- Usual disclaimers apply.
-
-