narrowgate
asked on
Creating a service application
Hello,
Anyone now how to create a service application (ie app running as a service) in NT4 /2000. Thanks
Anyone now how to create a service application (ie app running as a service) in NT4 /2000. Thanks
Take a look at
How to write a Windows NT Service (Delphi 5)
http://www.delphifaq.com/fq/q3055.shtml
Simple NT Service
http://www.aldyn.ru/demos/0001/index.html
An advanced service application
http://www.aldyn.ru/demos/0002/index.html
also this will help you to understand NT services(it's for C++ Builder)
Writing NT Services
http://www.cbuilderzine.com/features/1999/10/cb199910krNT0601_f/cb199910krNT0601_f.asp
How to write a Windows NT Service (Delphi 5)
http://www.delphifaq.com/fq/q3055.shtml
Simple NT Service
http://www.aldyn.ru/demos/0001/index.html
An advanced service application
http://www.aldyn.ru/demos/0002/index.html
also this will help you to understand NT services(it's for C++ Builder)
Writing NT Services
http://www.cbuilderzine.com/features/1999/10/cb199910krNT0601_f/cb199910krNT0601_f.asp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I'll have a look at these sites. If I can get something working I'll give the points to whoever gave the link.
ASKER
Ok cool, took some fiddling but got there in the end. Have accepted this as answer as the link proved slightly more useful than the others. Sorry mnasman.
Got the service thing running but I was unable to alter the registry of HKEY_CURRENT_USER while running as a service. I have tried other methods to alter keys (without permissions) and figured that if I execute as a service (local system account) I would have some joy. Good but no cigar for me. Anyway this wasn't the question I asked and u have answered the question I did ask so please have the points with my grateful thanks. If you think you may have an answer for the above I will gladly post another question and give u the points to that too. Regards, Rik
Got the service thing running but I was unable to alter the registry of HKEY_CURRENT_USER while running as a service. I have tried other methods to alter keys (without permissions) and figured that if I execute as a service (local system account) I would have some joy. Good but no cigar for me. Anyway this wasn't the question I asked and u have answered the question I did ask so please have the points with my grateful thanks. If you think you may have an answer for the above I will gladly post another question and give u the points to that too. Regards, Rik
Rgds,
Frodo