Solved

Good WinNT Service sample

Posted on 2001-06-14
7
260 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

832 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