🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Converting a console app to a service question?

#17401
From: Remy Lebeau (TeamB)
Date: Wed, 26 Mar 2003 18:54
16 lines
1698 bytes
Please read the Win32 API documentation, there is a whole section on the
requirements for service applications.  The documentation also includes
several code samples.  In particular, your custom implementations of the
ServiceMain() and Handler() functions needs to be added to your code, and
then your main() function has to call StartServiceCtrlDispatcher() to
register the process as being a service.


Gambit

"Jeff Douglass" <.> wrote in message
news:3e81e4d8$1@newsgroups.borland.com...
> I have a console mode app created in BCB5 pro that act as a
> server for my main GUI based app. I am thinking of making it a
> service and was wondering what type of effort this will be?
> What issues should I look out for? Should I even bother?
Technical Details
Message-ID: <3e81f548$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e81e4d8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cd0f25da4d10d57c,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-26 20:41:15 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e81e4d8$1@newsgroups.borland.com>
Subject: Re: Converting a console app to a service question?
Date: Wed, 26 Mar 2003 10:54:15 -0800
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e81f548$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048704328 207.175.226.26 (26 Mar 2003 10:45:28 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail