[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Enumerate Services in NT...

Posted on 1999-10-26
7
Medium Priority
?
321 Views
Last Modified: 2010-04-01
Hi...
I Need source code for Enumerate Services In NT...
I need list service name and your EXE file path....

thanks
0
Comment
Question by:sennaspy
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 2161408
OpenSCManager
EnumDependentServices
EnumServicesStatus
EnumServicesStatusEx
0
 
LVL 23

Expert Comment

by:chensu
ID: 2161411
0
 
LVL 3

Author Comment

by:sennaspy
ID: 2167763
Thanks...

Do you have other example ?
If you have a example for Borland C++ Builder 4.. is very good...

thanks
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 23

Expert Comment

by:chensu
ID: 2167878
Other samples I know are also at CodeGuru.

Windows NT Service Manager
http://www.codeguru.com/system/ServiceManager.shtml

NT Service Manager
http://www.codeguru.com/system/NTSrv.shtml

WindowsNT Simple Service Manager (2)
http://www.codeguru.com/system/AC_NTSrv.shtml

I am sorry that I don't have a BCB sample. But the first sample at CodeGuru doesn't use any MFC classes except CString. So, it is trivial to adapt it. And MFC does not wrap anything for NT service.
0
 
LVL 3

Author Comment

by:sennaspy
ID: 2168653
Sorry, but I need another example in Borland C++ Builder 4...

Thanks for all...
0
 
LVL 3

Author Comment

by:sennaspy
ID: 2172041
Hi...

Chensu...
I change the codeguru's code...
press answer, I give the points to you..

thanks
0
 
LVL 23

Accepted Solution

by:
chensu earned 600 total points
ID: 2172049
Great! Thank you.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
Suggested Courses

607 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