Solved

Programming a software to run as a Windows service

Posted on 2002-03-04
6
149 Views
Last Modified: 2010-08-05
Is it possible to program a software to run as a windows service? if possible, how? what are the differences when running the program the usual way?...i intend to make a 24-7 that will run as part of the OS...thanks! :)
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6840561
Well in D5 all you have to do is File > New and select the "Service" module in the list. Services generally run in the background usually transparently and apps generally run in the foreground.


The Crazy One
0
 

Author Comment

by:dabestprogrammerindauniverse
ID: 6840607
hi again...are there any significant differences between the usual apps and services?
thanks!
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 100 total points
ID: 6841565
Well Services generally speaking are built with one task in mind and usually don't have user interfaces to deal with. Although some of your anti-virus programs run as services instead as an application. Services can be ran before a user logins therefore setting up certain things such as authenication purposes or broadcasting to the network. Appplications Like LapLink will use a service to start before login so a user on a remote computer can login on the host computer from their computer.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:AvonWyss
ID: 6841733
Services are running in another security context than the loggen on users, and they are also active when noone is logged on. In addition to this, the SCM (service control manager) keeps track of the services, starts and stops them as needed and can even restart a service which has shut down unexpectedly (crash). But apart fom these differences, it's also just an application.
0
 
LVL 3

Expert Comment

by:lopem
ID: 6842702
listening...
0
 

Author Comment

by:dabestprogrammerindauniverse
ID: 6843804
so its good to make an application particularly a Server application a service? that way when a crah occurs, the OS will restart the whole app? plus the resets and the autostart...services can have forms too right? like the Symantec autoprotect or SQL service manager?

thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question