Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!kth.se!sunic!mcsun!ukc!tcdcs!unix1.tcd.ie!kpjeacle From: kpjeacle@unix1.tcd.ie (Karl Jeacle) Newsgroups: comp.sys.ibm.pc.misc Subject: Uninstalling a TSR in Turbo-C ??? Summary: How do I get a TSR to free up its memory? Keywords: TSR, Turbo-C Message-ID: Date: 18 Mar 91 21:04:29 GMT Sender: news@cs.tcd.ie Organization: Trinity College, Dublin Lines: 15 Nntp-Posting-Host: unix1 Hi, I recently wrote a little TSR in Turbo-C which disables/enables function keys. When I want to uninstall it/remove it, I just use setvect() to put back the interrupt vectors the way I found them, and then exit(). However, each time I install/uninstall the TSR, I lose 6k (size of .exe) I use a keep() to install myself, so how do I free up the memory I've taken to install myself, with that keep(), on exiting??? Any ideas would be appreciated! Thanks, -- --//------------------------------------------------------------------------- \X/ Fido: Karl.Jeacle @ 2:253/151 kpjeacle@vax1.tcd.ie