Hi,
I am using a servicedcomponant class :
My CODE :
public class myClass : System.EnterpriseServices.ServicedComponent, ImyClass{
}
I specify the component run in a system process (I need only one instance for several clients) :
[assembly:
ApplicationActivation(ActivationOption.Server)]
My PROBLEM ! :
- When I use the component (with C# application or Delphi application) it is installed in Administrative Tools --> Component Services --> My Computer --> Com+ but is never stop or removed when my applications stop.
So when I want to modify and built again ma class, I fist have to remove the component in Administrative Tools --> Component Services --> My Computer --> COM+
What can I do to stop or remove the service automaticly when no application use it
Thanks for help or any good idea !!