0

I'm trying to write a program that I have to know what processes are ran.
Then how could I know what processes are recently ran ?

I write the program in Windows 7 and with visual c++.

Hamed
  • 2,004
  • 6
  • 22
  • 41

1 Answers1

0

You can use PSAPI that has an enumProcesses function, and even gives an example of how to enumerate all processes.

talnicolas
  • 13,437
  • 7
  • 35
  • 55