BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Windows service application

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Andrés de la Cuadra
Guest





PostPosted: Fri May 19, 2006 1:14 pm    Post subject: Windows service application Reply with quote



Hello, I need to make a Windows service, I mean a program that runs in background with an icon on the rigth botton corner of the screen. How can I do that?, I already have the application that runs like a normal Windows app and want to migrate it to a service.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri May 19, 2006 6:14 pm    Post subject: Re: Windows service application Reply with quote



"Andrés de la Cuadra" <andres (AT) adelacu (DOT) com> wrote in message
news:446dc077$1 (AT) newsgroups (DOT) borland.com...

Quote:
Hello, I need to make a Windows service

There is a "Service Application" option available in the IDE's 'File | New'
dialog.

Quote:
with an icon on the rigth botton corner of the screen.

What you are referring to is called the System Tray. It is not a simple
task to have a service display a System Tray icon. Depending on how you set
up your service, the System Tray may not even exist while the service is
running, or it may not be accessible to the service. The best way to have a
service display a System Tray icon is to write a separate non-service
application to handle the icon, and then have that application communicate
with the service when needed. You can then have that application running
while the user is logged in (the System Tray does not exist when no user is
logged in).


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.