[futurebasic] Re: [FB] [FB3] [Release 7.0] Shutdown

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2002 : Group Archive : Group : All Groups

From: Brian Stevens<brilor@...>
Date: Sat, 21 Sep 2002 18:44:17 -0700
>
>
>Brian,
>
>These legacy calls are not in the latest headers because they are 
>not Carbonized and no longer work in OS X.
>
>Even in 68K and PPC they were "dirty", they immediately quit all 
>running applications without giving the user an opportunity to save 
>changes in running applications. They did the same thing as 
>unplugging a running machine.
>
>The code I posted allows the user to save changes and gracefully 
>exit all running applications, which is extremely important in the 
>UNIX-based OS X environment to avoid directory damage.
>
>In fact, this has been the way Apple has recommended restarts and 
>shutdowns since at least 1996:
>
>http://developer.apple.com/techpubs/mac/Processes/Processes-156.html
>
>Please note that events in OS X are now sent to the "loginwindow" 
>rather than to the Finder as in PPC.
>
>Those of us who have been developing in OS X for some time now are 
>having to rethink old ways of doing things. But to be frank, the new 
>ways often make more sense since they are based on many years of 
>experience.
>
>Ken
>

Thanks Ken. I hadn't done a lot a research before sending Brian 
Heibert the TB calls.

Brian Stevens