Howard Bartfield wrote: > i'm not convinced it's to do with 2 GCs, because the following > doesn't work either:
> Excel.ApplicationClass appClass = new Excel.ApplicationClass(); > appClass = null; > GC.Collect(); > GC.Collect(); Well, then, my last estimation would be to say that the objects just aren't finalizaed. Which means either (1) the system keeps some sort of a list of outstanding COM objects, and weak references to the owning object (would seem rather silly), or (2) you have to release COM servers manually, period. Since I don't have access to a .NET SDK here, I can't really test what's right. Adam Nathan's book might shed some light, too. Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.