Article View: borland.public.cppbuilder.internet.socket
Article #5051Re: TIdHTTP Server in an NT Service
From: Lapo Guidi
Date: Tue, 26 Oct 2004 22:19
Date: Tue, 26 Oct 2004 22:19
28 lines
2035 bytes
2035 bytes
Thanks Remy, I'm sorry to write an incorrect request, anyway with your fast answer, you helped my brain to think to the solution. Now i understood what I need to start with. Thanks very much. Lapo "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:417e7929$1@newsgroups.borland.com... > > "Lapo Guidi" <lapoguidi@inwind.it> wrote in message > news:417e3737@newsgroups.borland.com... > > > Can somebody help me on creating an HTTPServer running like NT Service? > > What exactly do you need help with? Please be more specific. Simply drop a > TIdHTTPServer onto the service at design-time, set its Active property to > true in the service's OnStart event and set it to false in the > OnStop/OnShutdown events, and assign an OnCommandGet event to the > TIdHTTPServer to handle serving files to clients. That is the minimal that > you need to get it running. > > > Gambit > >
Technical Details
Message-ID:
<417eccf1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<417e3737@newsgroups.borland.com> <417e7929$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7d6b1f2a09b111f7 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Lapo Guidi" <lapoguidi@inwind.it> Newsgroups: borland.public.cppbuilder.internet.socket References: <417e3737@newsgroups.borland.com> <417e7929$1@newsgroups.borland.com> Subject: Re: TIdHTTP Server in an NT Service Date: Wed, 27 Oct 2004 00:19:15 +0200 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 82.49.68.71 Message-ID: <417eccf1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098829041 82.49.68.71 (26 Oct 2004 15:17:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail