Link to home
Start Free TrialLog in
Avatar of Jaymol
Jaymol

asked on

Simple NT Service.

Could someone give me a basic sample of an NT service please.  I've never written one, looked into writing one, or even considered it before now, but I need to do one.  So, if someone could, I'd just like a simple service example that includes the code for handling starting, stopping, and doing something in between.

I do want code for this please, and any explanation of the process if possible.

Thanks,

John.
Avatar of Epsylon
Epsylon

I think this link will help you:

http://www.jgsoftware.com/nt.htm
Look for 'service applications-threads' in Delphi help. There is a sample with a thread and explanation.

Regards, Geo
Avatar of Jaymol

ASKER

Thanks for the suggestions guys, but I really do want someone on here to give me a code sample and explain it to me.  I can't get that from a bunch of links.

Thanks again,

John.
ASKER CERTIFIED SOLUTION
Avatar of Epsylon
Epsylon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jaymol

ASKER

Ta.  Just what I wanted.

John.
Why a C grade
Avatar of Jaymol

ASKER

Don't be greedy.
Hey, I am using MY time trying to solve YOUR problems. When I get a C-grade, I think that my comments where not good enough. Next to that I didn't even propose any of my comments a answer.

It just doen't look very gratefull to me.