-=> Quoting Daniel Troy to James Vahn <=-
JV>> i am making a tsr and would like to know how to unload/release tsr
DT> well i have been able to figure how to unload i do this by
FIRST restoring any interrupt vectors your TSR has grabbed, UNLESS another
later loaded TSR has grabbed one of those, in which case you notify the
user, and abort the unloading. Only after restoring the vectors, you proceed
by
DT> deallocating the program and the environment which is in memory before
DT> the program which i dont need but dos loads for some reason anyways
DOS gives every program, TSR or not, required or not, an environment.
As you tend to point out: Life is a dog of the female persuasion.
Peter
... Let no good deed go unpunished.
--- EBO-BBS Diemen - NL
---------------
* Origin: EBO-BBS Diemen (http://www.worldonline.nl/~biginski) (2:280/901)
|