?
Solved

Good WinNT Service sample

Posted on 2001-06-14
7
Medium Priority
?
279 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Accepted Solution

by:
MadYugoslav earned 200 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

840 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