I 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.
Thank.
I 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.
Thank.
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.
Note that it is better to use CreateTimerQueueTimer
for the timer, rather than SetTimer
, since SetTimer
requires a message queue.
Source: https://ru.stackoverflow.com/questions/172412/
All Articles