COM+ component in C#

  • Thread starter Thread starter Guest
  • Start date Start date
Mark,

When you are done with the object, you can pass the object to the static
ReleaseComObject method on the Marshal class, and it will release the
references to the COM object.

Hope this helps.
 
Mark,

I don't quite understand the issue. Why would your program not be able
to run a second time because an object hasn't been released? Are you
limiting the number of objects that are produced to one and it is getting
hung up on that?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mark said:
And that what I am doing.
But still I cannot run my program second time because the COM has not been released
while COM+ console shows zeros for Objects and Activated.
When I shotdown the COM wrapper then the console shows empty columns and
my program runs again.
 
I wasn't too accurate in the problem description
Actually C# program does run again but it does not execut
COM. Pool is set to 1.
 
Back
Top