Solved

Convert app in a service for WinNT 4.0

Posted on 1997-11-26
4
143 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

759 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