S
sternr
Hey,
I have a C# assembly that inherits from ServicedComponent and is
installed in the Com+ with ServerActivation.
And I have a C++ application that calls this Com+ object successfully,
But the problem is that I cant seem to dispose the object!
I tried calling the following code:
myComPlus->Release();
myComPlus = NULL;
delete myComPlus;
CoUninitialize();
The reason I posted it here (DotNet group) is that the same code works
when the Com+ object is NOT a DotNet Assembly.
Apparently I need to find a way to the ServicedComponent.DisposeObject
from the C++ code!
Is there a way to dispose a .Net assembly from the Com+ by C++ Code?
Thanks ahead
sternr
I have a C# assembly that inherits from ServicedComponent and is
installed in the Com+ with ServerActivation.
And I have a C++ application that calls this Com+ object successfully,
But the problem is that I cant seem to dispose the object!
I tried calling the following code:
myComPlus->Release();
myComPlus = NULL;
delete myComPlus;
CoUninitialize();
The reason I posted it here (DotNet group) is that the same code works
when the Com+ object is NOT a DotNet Assembly.
Apparently I need to find a way to the ServicedComponent.DisposeObject
from the C++ code!
Is there a way to dispose a .Net assembly from the Com+ by C++ Code?
Thanks ahead
sternr