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. List of processes (Save My Day #1)

List of processes (Save My Day #1)

Scheduled Pinned Locked Moved C / C++ / MFC
8 Posts 6 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.
  • P Offline
    P Offline
    peterchen
    wrote on last edited by
    #1

    Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

    M G S M P 5 Replies Last reply
    0
    • P peterchen

      Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      I think there is a sample in the platform sdk, PViewer or something like that. So a search on MSDN for Process Viewer. Michael :-)

      1 Reply Last reply
      0
      • P peterchen

        Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

        G Offline
        G Offline
        Gert Boddaert
        wrote on last edited by
        #3

        http://www.codeproject.com/threads/interprocesssync.asp -------------------------------------------------- If my messages appear curt, I apologize. I try to be brief to save your time as well as mine. --------------------------------------------------

        1 Reply Last reply
        0
        • P peterchen

          Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

          S Offline
          S Offline
          Sardaukar
          wrote on last edited by
          #4

          MSDN Search: HOWTO: Enumerate Applications in Win32 Q175030 The information in this article applies to: Microsoft Win32 Application Programming Interface (API), used with: the operating system: Microsoft Windows NT, version 4.0 Microsoft Windows 95 the operating system: Microsoft Windows 2000 Definitely one of the best starting points to do it.

          1 Reply Last reply
          0
          • P peterchen

            Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

            M Offline
            M Offline
            moliate
            wrote on last edited by
            #5

            Use CreateToolhelp32Snapshot, Process32First and Process32Next defined in tlhelp32.h. It works on Win9x as well as NT (PSAPI gives you more control, but only works on NT). /moliate

            T 1 Reply Last reply
            0
            • M moliate

              Use CreateToolhelp32Snapshot, Process32First and Process32Next defined in tlhelp32.h. It works on Win9x as well as NT (PSAPI gives you more control, but only works on NT). /moliate

              T Offline
              T Offline
              Tomasz Sowinski
              wrote on last edited by
              #6

              Actually, ToolHelp32 funtions are *not* available on NT4, according to MSDN. W2K supports them, however. Tomasz Sowinski -- http://www.shooltz.com

              M 1 Reply Last reply
              0
              • T Tomasz Sowinski

                Actually, ToolHelp32 funtions are *not* available on NT4, according to MSDN. W2K supports them, however. Tomasz Sowinski -- http://www.shooltz.com

                M Offline
                M Offline
                moliate
                wrote on last edited by
                #7

                Sorry, my mistake... :-O Thanks for the info. /moliate

                1 Reply Last reply
                0
                • P peterchen

                  Hi, I (desperately) need a list of running processes (ID orHandle, and Module name), on Win 9x (more important) and NT/W2K. I know I know this gets asked often, but couldn't find any on CP.. Thanks a lot! Peter

                  P Offline
                  P Offline
                  peterchen
                  wrote on last edited by
                  #8

                  Thanks folks! (Yes I'm a bit late, just didn# get notifs) I went with the ToolHelp23 functions, since Win98 and W2K are enough and NT4 isn't *that* important. Peter

                  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