473,386 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Running Multiple instances of same service

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
--
Sunil Pandita
Software Engineer
(OTS Solutions Pvt. Ltd. )

Apr 17 '06 #1
1 2934

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.

sunil wrote:
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

Apr 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: MW | last post by:
Hi all, I have written a windows service application and setup project to install/deinstall my service. There is a requirement to run one more instance of the same service with different set...
1
by: Vlad | last post by:
Is there any way to install multiple instances of the same windows service designed with VS.NET 2003? I tried copying the binaries into a separate folder and then copying registry entries for the...
7
by: Ross Presser | last post by:
OK, I've been researching this problem and can't find a definitive answer yet. The situation is one that seems to have come up a few times to different folks. I am writing an application that...
3
by: buzlite | last post by:
Hello All, I do not know if this is the proper group to ask my question. Please do direct me to the proper place. I have a database server and would like to store data for multiple groups of...
11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
10
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each...
3
by: Michel | last post by:
Hi, I wrote an app in .Net and I whant only 1 instance of this app open for the user; the user open my app, do some works and try to open another instance of my app, I whant to show a message to...
0
by: Sunil Pandita | last post by:
Hi all, I have created a windows service that is working well. Now i want to create the multiple instances of this service on the same box. How could it be possible?. One way that I thought...
1
by: mikelujan | last post by:
Hi, Our application starts an external application using System.Diagnostics.Process class and the Start() method, as per code snippet below. This application run as a Windows service, and must...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.