Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!seismo!uwvax!uwmacc!pwu From: pwu@uwmacc.UUCP Newsgroups: comp.sys.ibm.pc Subject: Deallocate memory block in the middle Message-ID: <1168@uwmacc.UUCP> Date: Sun, 1-Mar-87 22:25:59 EST Article-I.D.: uwmacc.1168 Posted: Sun Mar 1 22:25:59 1987 Date-Received: Tue, 3-Mar-87 00:25:13 EST Organization: UWisconsin-Madison Academic Comp Center Lines: 19 Keywords: memory block Anyone knows what would happen if a TSR program deallocates its memory while another program is running (i.e. the memory block deallocated is not the last one in the memory-block chain)? Would the "hole" in the chain be reclaimed after the program has exited? Would DOS go crazy with this hole in the memory? I'm asking this because I want to write a TSR program to do some background task while other programs may be running. When it has finished its background task it would deallocate itself to free up memory. peter /* ** ARPA: pwu@unix.macc.wisc.edu BITNET: WU at WISVMACC ** UUCP: {seismo|harvard|topaz|caip|ll-xn| <-+ ** allegra|akgua|ucbvax|bellcore|ihnp4}!uwvax!uwmacc!pwu | ** | ** Uuhosts on this line may have faster delivery time. --------+ */