🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Jeff Douglass Wed, 26 Mar 2003 17:28
Converting a console app to a service question?
#17409
Author: Jeff Douglass
Date: Wed, 26 Mar 2003 17:28
8 lines
1169 bytes
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?

Thanks for any insite.

Jeff
Re: Converting a console app to a service question?
#17401
Author: 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?
Re: Converting a console app to a service question?
#17407
Author: Jeff Douglass
Date: Wed, 26 Mar 2003 19:57
3 lines
957 bytes
Thanks.

Jeff
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads