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,084
  • 6
  • 22
  • 42

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,885
  • 7
  • 36
  • 56