General information
Title:
VC++ ATL component is not unloaded from MTS
I started to develop some business objects in VC++ as ATL-MTS-components. MTS+ISS run on my computer, ie: everything is locally.
I set the idle unload timeout to 1 minute in MTS Manager, but MTS (or is it IIS in fact?) fails to unload the dll almost all the time (sometimes it does free it, but I couldn't find the pattern... yet:)).
So, I thought I'm doing something wrong in my code and I created a new package that contains a dummy component as it is generated by the ATL wizard. The same problem: MTS does not free the dll.
Until now, I have two solutions to force the unload of the dll (besides the complete reboot which is not a solution :)):
1. Stop/restart the IIS service. I don't like it because it's still too long.
2. Run the components in debug mode. This is not good because the debug is slower and I can't get the "feeling" on how things actually work.
What am I missing here? Is there any other magical setting?
Vlad
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only