Solved

Good WinNT Service sample

Posted on 2001-06-14
7
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: 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 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

Industry Leaders: 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!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

717 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