Article View: borland.public.cppbuilder.nativeapi
Article #7895Re: Controlling Windows service
From: Deepak Mishra
Date: Tue, 14 Dec 2004 09:28
Date: Tue, 14 Dec 2004 09:28
27 lines
2382 bytes
2382 bytes
>You just changed the whole dynamics of your questions. Please start over >and explain, in detail, exactly what you are trying to accomplish >step-by-step. I'll try to explain it more clearly. 1)I'm developing an application which will be a multi-user application with client application(presentation layer) installed on differnet machines and the database server installed on a separate machine. 2)But it has not been yet decided whether we will be following a 3-tier architecture or a 2-tier architecture. 3)There is a requirement for a module(running on the machine hosting the database server)in the application which needs to ftp to and from the machine hosting the dataabse server. This ftp module will be a Windows Service, running in the background. 4)The requirement is- a)The background process should get started whwnever the first client apllication connects with the database server. b)Each client application will have a button through which it can stop the service if it is running. c)There will be another button in client application which can start the service if it is stopped. d)As soon as the last coonected client application gets disconnected with the database server, Service should get automatically stopped. I hope this time I'm more clear on my requirements. Regards, Deepak Mishra
Technical Details
Message-ID:
<41beb248$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41bd5410$1@newsgroups.borland.com> <41bd87dc$1@newsgroups.borland.com> <41bd993f$1@newsgroups.borland.com> <41bdec9b$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2580bf3649196f02 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Deepak Mishra" <deepak.dmishra@gmail.com> Sender: "Deepak Mishra" <deepak.dmishra@gmail.com> Reply-To: "Deepak Mishra" <deepak.dmishra@gmail.com> Subject: Re: Controlling Windows service Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 203.200.198.98 References: <41bd5410$1@newsgroups.borland.com> <41bd87dc$1@newsgroups.borland.com> <41bd993f$1@newsgroups.borland.com> <41bdec9b$3@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <41beb248$1@newsgroups.borland.com> Date: 14 Dec 2004 01:28:40 -0800 X-Trace: newsgroups.borland.com 1103016520 207.105.83.66 (14 Dec 2004 01:28:40 -0800) Lines: 27 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail