Solved

Good WinNT Service sample

Posted on 2001-06-14
7
255 Views
Last Modified: 2010-04-02
Please can anyone give me good (easy) WinNT Service sample? I wanna to make my program as WinNT Service.

Thanks
0
Comment
Question by:Viesturs
7 Comments
 
LVL 2

Expert Comment

by:GloriousRain
ID: 6190170
Create new ATL COM AppWizard with Server type as Service for sample.
0
 
LVL 2

Expert Comment

by:MadYugoslav
ID: 6190240
Post email and I'll send project to You.
0
 
LVL 1

Author Comment

by:Viesturs
ID: 6190256
I wanna to make my program w/o ATL, MFC and other stuff.
My e-mail cilveks7@yahoo.com
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Accepted Solution

by:
MadYugoslav earned 50 total points
ID: 6190270
Mail is sent.
0
 
LVL 1

Author Comment

by:Viesturs
ID: 6190281
OK. Thanks, i need some time to see how it work.
0
 
LVL 3

Expert Comment

by:cwrea
ID: 6200277
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
 
LVL 1

Expert Comment

by:Moondancer
ID: 6718410
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now