Good WinNT Service sample

Please can anyone give me good (easy) WinNT Service sample? I wanna to make my program as WinNT Service.

Thanks
LVL 1
ViestursAsked:
Who is Participating?
 
MadYugoslavConnect With a Mentor Commented:
Mail is sent.
0
 
GloriousRainCommented:
Create new ATL COM AppWizard with Server type as Service for sample.
0
 
MadYugoslavCommented:
Post email and I'll send project to You.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
ViestursAuthor Commented:
I wanna to make my program w/o ATL, MFC and other stuff.
My e-mail cilveks7@yahoo.com
0
 
ViestursAuthor Commented:
OK. Thanks, i need some time to see how it work.
0
 
cwreaSoftware CraftsmanCommented:
This is the definitive sample for creating a Win32 service in C++:

http://msdn.microsoft.com/library/techart/msdn_ntservic.htm

The sample does not rely on MFC or ATL.  It is straight C++ on top of the Win32 and NT Service APIs.
0
 
MoondancerCommented:
Have you been helped here, Viesturs, so that you can finalize this question?  If more is needed, please update this with your status.  If you'd like assistance with any special handling of your questions, just post a zero point question at the link below, include the link to the question and detail of what you'd like done.

Thank you,

Moondancer
Community Support Moderator @ Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.