🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7392

Re: How can a Applicantion work as a Service?

#7392
From: Vladimir Stefanovic
Date: Thu, 03 Feb 2005 07:43
39 lines
2356 bytes
You are right... Just drop TServerSocket as any other
component onto TServiceApplication and you have a
real server.

-- 
Best regards,
Vladimir Stefanovic
"Emmanuel" <emmanuel@erphk.com> wrote in message 
news:4201c82d$1@newsgroups.borland.com...
> but I find that Borland SocketServer which provided by Borland C++builder
> can work as Service and work as a single program
>
> "Remy Lebeau (TeamB)" <no.spam@no.spam.com> д���ʼ�
> news:4200bfe5@newsgroups.borland.com...
>>
>> "Emmanuel" <emmanuel@erphk.com> wrote in message
>> news:4200af09$1@newsgroups.borland.com...
>>
>> > How can a Application work as a Service?
>> > My meaning is that, the applicantion can work as a
>> > service and work as a standlone program.
>>
>> By not making a single executable try to handle both architectures at the
>> same time.  They are very different from each other.  The VCL does not
>> support writing hybrid application/service projects.  You have to make 
>> one
>> or the other but not both.
>>
>> Otherwise, you have to write a non-VCL program that handles all of the
>> necessary API functions manually.  Or find a third-party framework that
> does
>> what you need.
>>
>>
>> Gambit
>>
>>
>
> 
Technical Details
Message-ID: <4201d604@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4200af09$1@newsgroups.borland.com> <4200bfe5@newsgroups.borland.com> <4201c82d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,591b0fbb1373b772
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4200af09$1@newsgroups.borland.com> <4200bfe5@newsgroups.borland.com> <4201c82d$1@newsgroups.borland.com>
Subject: Re: How can a Applicantion work as a Service?
Date: Thu, 3 Feb 2005 08:43:08 +0100
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 213.137.116.242
Message-ID: <4201d604@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107416580 213.137.116.242 (2 Feb 2005 23:43:00 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail