I have no experience calling COM components from .NET, but here is a VFP example. Say I develop a VFP component and install it in COM+, then call it from VFP. I still need to release it in VFP. Simple calling SetComplete() inside the component isn't enough.
ox = CREATEOBJECT("MyCOMPlusComponent")
ox.SomeMethod()
ox = NULL
>OK. I see.
>But still I cannot get it work completely.
>If I don’t release COM explicitly in C# program then in COM+ console I see that a number of objects get built up after every execution. I don’t think this is good because eventually the server will run out of memory.
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer