Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Code for getting list of all running services on pc

Code for getting list of all running services on pc

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    virz
    wrote on last edited by
    #1

    hello... I am working on VC++ programming.....I want code for getting list of all Services running on computer Plz help me.. Reply me as early as possible Thanking You. Sincerely, VIRAL PATEL

    M N T 3 Replies Last reply
    0
    • V virz

      hello... I am working on VC++ programming.....I want code for getting list of all Services running on computer Plz help me.. Reply me as early as possible Thanking You. Sincerely, VIRAL PATEL

      M Offline
      M Offline
      Monty2
      wrote on last edited by
      #2

      Not sure if this is what you need but a list of services installed can be seen here HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services


      C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg

      1 Reply Last reply
      0
      • V virz

        hello... I am working on VC++ programming.....I want code for getting list of all Services running on computer Plz help me.. Reply me as early as possible Thanking You. Sincerely, VIRAL PATEL

        N Offline
        N Offline
        Naveen
        wrote on last edited by
        #3

        if u want to get all the runnig process use the Api EnumProcesses() nave

        1 Reply Last reply
        0
        • V virz

          hello... I am working on VC++ programming.....I want code for getting list of all Services running on computer Plz help me.. Reply me as early as possible Thanking You. Sincerely, VIRAL PATEL

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          virz wrote:

          want code for getting list of all Services running on computer

          Try this http://www.codeproject.com/system/AMFSServiceManager.asp[^]

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups