Running Multiple instances of same service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All.

I have written a program as an exe that performs some kind of order
processing. The program is first configured and then started manually. I have
have multiple instances of this program with their own ini file and multiple
instances can run simultaneouly. Now what i want to convert the whole thing
into a windows ervice that is self starting and reads the configuration from
the .ini file(its own) and can be run separately as a service having multiple
instances.

I am not very sure whether i have posted this in the right group or not .
Please give me the proper suggestions so that i can proceed further with my
tasks.

ANy help will be deeply appreciated.

Thanks in advence
 
Windows will not let you install the services unless they have unique
names...make sure that you change the name in the installers.

If the services are simple variations of the same code, you might want
to consider if you can use a single service and

(a) Add some more variables to the methods to distinguish what the code
is to do for that case.

(b) Make the program multithreaded to allow for simultaneous processing
of multiple queues.
 
Back
Top