Solved

Convert app in a service for WinNT 4.0

Posted on 1997-11-26
4
140 Views
Last Modified: 2010-04-04
My app should run without any user is logged on. The only
idea I have is to convert it into a service - but I dont know how !
Any other suggestions are welcome !
0
Comment
Question by:egono
  • 2
4 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1352020
Hi

Just a small comment...
Windows 95 has 2 registry keys, one which runs programs AFTER the user has logged on, and the other which runs programs BEFORE any user has logged on.  I don't know if this works on NT, but you can give it a try.

To run a program AFTER user has logged on, add an entry to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

To run a program BEFORE a user logs on, add an entry here:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

The 1st key (Run) works on NT, but I haven't tested the 2nd one (RunServices) on NT.

Regards,
JB
0
 
LVL 3

Accepted Solution

by:
mirek071497 earned 200 total points
ID: 1352021
Hi this is full template for the services in delphi :
http://www.info-pro.no/sperling/files/serviceskeleton.zip
If You have any other question then submit comment.
0
 
LVL 2

Author Comment

by:egono
ID: 1352022
Is it free to use ?

0
 
LVL 3

Expert Comment

by:mirek071497
ID: 1352023
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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