Solved

Convert app in a service for WinNT 4.0

Posted on 1997-11-26
4
145 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
[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
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

623 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