I need to get information about running processing Windows.
What can I write to make the program give a list like this: working applications: Opera, Teamspeak. It's a little bit like task manager in Windows.
I need to get information about running processing Windows.
What can I write to make the program give a list like this: working applications: Opera, Teamspeak. It's a little bit like task manager in Windows.
 
    
     
    
    Get a list of processes with EnumProcesses(), which you can then iterate to get information on the individual processes using the Process API functions such as GetModuleBaseName() as described in the example at https://learn.microsoft.com/en-us/windows/win32/psapi/enumerating-all-processes
 
    
    You can use either:
EnumProcesses() to get a list of running process IDs, then OpenProcess() to open a handle to each process and query it for its EXE filename using GetModuleFileNameEx(), GetProcessImageFileName(), or QueryFullProcessImageName(). See Enumerate All Processes.
CreateToolhelp32Snapshot() to get a snapshot of running processes, then Process32First() and Process32Next() to get their EXE filenames. See Taking a Snapshot and Viewing Processes.
Once you have the EXE filenames, you can use GetFileVersionInfo() and VerQueryValue() to retrieve their human-readable display names, such as from the FileDescription version info field.
