[comp.lang.pascal] TSR's

rind@hscfvax.uucp (747707@d.rind) (07/26/90)

I'm trying to write a Turbo Pascal routine that can execute and later
remove a separate executeable TSR routine.  I have no problem running
the program from inside TP using the Exec procedure, and this
successfully loads the TSR into memory, but I can't figure out how
to keep track of where in memory the TSR will be loaded and then
later remove the TSR freeing up that memory.  I'm trying to avoid
rewriting the TSR program itself, although I realize a TSR can be
made to remove itself.  The problem is getting a separate program to
do the installation and removal.  Is this possible?

-- David Rind           rind@hscfvax.harvard.edu