Solved

Convert app in a service for WinNT 4.0

Posted on 1997-11-26
4
131 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
Comment Utility
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
Comment Utility
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
Comment Utility
Is it free to use ?

0
 
LVL 3

Expert Comment

by:mirek071497
Comment Utility
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

16 Experts available now in Live!

Get 1:1 Help Now