Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Programming a software to run as a Windows service

Posted on 2002-03-04
Medium Priority
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! :)
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
LVL 44

Expert Comment

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

Author Comment

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

Accepted Solution

CrazyOne earned 300 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.
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

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.

Expert Comment

ID: 6842702

Author Comment

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?


Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

636 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