I have an ISAPI DLL that I wrote. I have "Cache ISAPI Extensions"
enabled for my web-site. IIS calls my TerminateExtension function
without the HSE_TERM_ADVISORY_UNLOAD flag, which means it is about to
unload my ISAPI DLL -- and I don't have the option to stop it.
Anyway to force IIS to keep it loaded? My ISAPI creates a listner
thread that accepts incoming connections, and those connections need
to be kept all the time (the ISAPI DLL uses them to service
requests). Plus, for other performance reasons I just want it to stay
loaded all of the time. I know I could move some code to a seperate
process, but that has plenty of downsides also.
IIS is version 6.0, Windows server 2003, and I've got windows update
enabled so I imagine I at least have any crucial updates.