Solved

Programming a software to run as a Windows service

Posted on 2002-03-04
6
143 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
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
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
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 14

Expert Comment

by:AvonWyss
Comment Utility
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
Comment Utility
listening...
0
 

Author Comment

by:dabestprogrammerindauniverse
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now