Windows Service

G

Guest

Hi,

I have created a service that has more than one user service i.e.
ServicesToRun = new System.ServiceProcess.ServiceBase[] {new s1(), new s2()};

when I call
ServiceBase.Run(ServicesToRun);
only S1() gets executed

I have created a seperate thread in each derived class (S1 and S2) but only
the first one ever gets executed.

Any Ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top