Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VC++ ATL component is not unloaded from MTS
Message
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
VC++ ATL component is not unloaded from MTS
Divers
Thread ID:
00169062
Message ID:
00169062
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform