Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!claris!wombat From: wombat@claris.com (Scott Lindsey) Newsgroups: comp.sys.apple Subject: Re: deleting DA's from memory Message-ID: <10220@claris.com> Date: 30 May 89 18:09:17 GMT References: <31983@apple.Apple.COM> Organization: Claris Corporation, Santa Clara CA Lines: 20 From article <31983@apple.Apple.COM>, by dlyons@Apple.COM (David Lyons): > Under System Disk 5.0 and later, there are two new Desk Manager calls: > RemoveCDA and RemoveNDA (just like InstallCDA and InstallNDA, only different). > These calls remove a DA from the Desk Manager's tables, but they do *not* > actually remove the DA's code from memory, because there's no safe way to do > that. (The DA may have intercepted system vectors or toolbox functions or > installed heartbeat interrupt tasks, so that freeing up its memory could easily > crash the system.) Why couldn't you just send that DA a shutdown, at which point it *should* undo anything it has done. Then just unload its segment. Does the fear of mis- behaved DA's in this respect prevent it? -- Scott Lindsey |"Cold and misty morning. I heard a warning borne in the air Claris Corp. | About an age of power when no one had an hour to spare" ames!claris!wombat| DISCLAIMER: These are not the opinions of Claris, Apple, wombat@claris.com | StyleWare, the author, or anyone else living or dead.