1、利用”EnumProcesses“【转载自:http://www.moon-soft.com/doc/8079.htm】
#include <Psapi.h>
#pragma comment(lib, "psapi.lib")
2、利用”CreateToolhelp32Snapshot“【转载自:http://blog.chinaunix.net/u/5391/showart_548261.html】
1、利用”EnumProcesses“【转载自:http://www.moon-soft.com/doc/8079.htm】
#include <Psapi.h>
#pragma comment(lib, "psapi.lib")
2、利用”CreateToolhelp32Snapshot“【转载自:http://blog.chinaunix.net/u/5391/showart_548261.html】