Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!zardoz!dhw68k!thecloud From: thecloud@dhw68k.cts.com (Ken McLeod) Newsgroups: comp.sys.mac.programmer Subject: Re: Shutdown & ReStart from MPW C Summary: Nooooooooooooooo! Keywords: MPW, c, shutdown, restart Message-ID: <25949@dhw68k.cts.com> Date: 27 Aug 89 10:02:40 GMT References: <1499@unocss.UUCP> Reply-To: thecloud@dhw68k.cts.com (Ken McLeod) Organization: Wolfskill & Dowling residence; Anaheim, CA (USA) Lines: 26 In article <1499@unocss.UUCP> payne@unocss.UUCP (Matt Payne) writes: > >It would really be nice to shutdown the MAC II from within an application. Why??? Unless you're writing a Finder substitute, I can't think of any good reason for doing this. Shutting down the machine should always be completely under the user's control; if it occurs in an unexpected place or at an unexpected time, confusion and frustration results. The routines for shutting off the Mac from software are given in the Shutdown Manager chapter of Inside Macintosh vol.5. A quote from that chapter: "Warning: ShutDwnPower and ShutDwnStart are used by the Finder and other system software; your application should have no need to call these two routines." I've personally been 'burned' by a few applications and HyperCard stacks where what passed for a "Quit" button actually did a "Quit and Shutdown". This is not friendly behavior. -- ========== ....... ============================================= Ken McLeod :. .: UUCP: ...{spsd,zardoz,felix}!dhw68k!thecloud ========== :::.. ..::: INTERNET: thecloud@dhw68k.cts.com //// =============================================