Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!unogate!unocal!genisco!dhw68k!finnegan From: finnegan@dhw68k.cts.com (Greg Finnegan) Newsgroups: comp.sys.mac.programmer Subject: Re: Standard File and Working directories... Message-ID: <1991Jun27.162709.14957@dhw68k.cts.com> Date: 27 Jun 91 16:27:09 GMT References: <1991Jun26.084825.9019@dartvax.dartmouth.edu> <54370@apple.Apple.COM> Organization: Wolfskill & Dowling residence; Anaheim, CA (USA) Lines: 21 >There are only two reasons for creating working directories: > >- If you are launching another application that expects to find its > location by making a GetVol call. >- If you are writing a hack that involves part of the system that > still uses working directories. For example, one person was > patching StdFile and needed to create WD's. Another person > wanted to fake out INIT 31 and needed to create WD's. I can think of one more: if you are using someone else's commercial library which was written a few years ago and it requires a wdRefNum for some of its file calls (probably assuming the library would be called immediately after a Std File call). Greg. -- uucp: ...{spsd,zardoz,felix}!dhw68k!finnegan InterNet: finnegan@dhw68k.cts.com --------------------------------------------