Hi! Sorry for my English. :)
Please consider the following code:
-
System.AppDomainSetup ap_setup = new System.AppDomainSetup();
ap_setup.LoaderOptimization = System.LoaderOptimization.MultiDomain;
AppDomain ap = AppDom
> Is this how other people would have done it?
Yes.
> Is there any
> way you could still maintain my original route but some how
> manage it such that the remoting infrastructure doesnt fire
> up its own instance, but uses the one already instantiated by
> the service's Main() method? Or would t
Thanks guys for your help. It was indeed a case of two instances of the
class existing and clients registering their delegates with the instance
that was NOT the instance having OnStop() called on it by the service
control manager.
The problem for anyone interested was as follows.
My Main method