delphi - Get list of process -


i need list of process pid. know how pid handle , viceversa, problem i'm not 1 create process, don't have handle nor pid. didn't find information on how on internet.

is there function returns list of process pid?

i mean pids of 'chrome.exe', example.

both vcl , firemonkey solutions appreciated.

this platform-specific, , such there nothing in firemonkey or vcl it. have use platform apis directly.

for instance, on windows can use createtoolhelp32snapshot(), process32first() , process32next():

taking snapshot , viewing processes

or can use enumprocesses():

enumerating processes

either approach getyou list of filenames , pids, can filter list filename(s) interested in.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -