TService, TServiceApplication


I've written a Simple Win95/98 service
that reads the inbound trafic on a serial device, now i need to write a service for NT and i thought i could use the TService "Wizard" but i can't figure out how the hell it works, it does nothing, i NEVER get to the OnStart

Some SampleCode that uses the TService would be greatly appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

take a look here:
many example codes of writing services in nt
Regards Barry

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
raidosAuthor Commented:
Thanks Barry. I'll try some of those examples and see if any of them will do it for me, a bit sad that no Examples where for the TService included in Delphi though, but you can't get everything you want right?
all i know is that wizard creates one TService object that you can manipulate .Chapter 3 of the Delphi Developers Guide gives two sample Services ,one using threads and one without.  
these are also a couple examples in the help file:
Type in TService in the Delphi help topics index. Go to that page and click on see also. This will take you to an example of a service. If you then go to the next page [>>] you will see another simple service example.
but from what i hear they dont work to well in nt .
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.