Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!udel!rochester!ur-tut!sunybcs!bingvaxu!leah!rmb384 From: rmb384@leah.Albany.Edu (Robert M. Bownes III) Newsgroups: comp.sys.ibm.pc Subject: Re: Killing TSRs Message-ID: <734@leah.Albany.Edu> Date: 29 Apr 88 06:21:17 GMT References: <139@bud.UUCP> Organization: A temporary news reading site Lines: 24 Summary: Removing a TSR not a problem. In article <139@bud.UUCP>, richard@bud.UUCP (richard karasik) writes: > Is there any way to kill TSRs without rebooting? For some applications I > run many TSRs, and when I switch applications, I would like to kill off > the current TSRs and install new ones -for the new application. > > Is there any way outside of rebooting to do this??? > This isn't a problem. The code to do so was published about 1.5 years ago in a Byte special PC issue. It is pretty trivial to write. You need to remove the entry from the interrupt table and replace it with the original entry (which you could have saved at boot time - hint hint- ) and then you need to free the memory the TSR used. I wrote this once upon a time but don't have the source anymore. For better hints, look in the book "The MS-DOS Developers Guide" by Angermeyer and Jaeger, available at Waldenbooks. I relied on that and the Byte issue I mentioned earlier. Bob -- Bob Bownes, Aka Keptin Comrade Dr Bobwrench III | If I didn't say it, It bownesrm@beowulf.uucp (518)-482-8798 | must be true. {steinmetz,brspyr1,sun!sunbow}!beowulf!bownesrm | - me, tonite -