isapi creating an
isapi extension. It is necessary to organize a timer in dll in order to unload not the entire library, but to release unused resources created by the library.
You can guaranteed unload the library only if you loaded it yourself with the help of
LoadLibrary , and you are sure that no other code of your process loaded it again. In this case,
FreeLibrary unload your library.
Please note that you must ensure that no one uses the functions of this library after unloading, otherwise problems cannot be avoided.