摘要:
xp:#include <windows.h> #include <tlhelp32.h> int SearchProess(const char* name){ int ret=0; HANDLE handle=NULL; PROCESSENTRY32 pe32={0}; do { handle=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); if(handle==(HANDLE)-1)break; pe32.dwSize=sizeof(PROCESSENTRY32); if(!Process32First(handle 阅读全文
posted @ 2012-08-06 09:43 ccmfc 阅读(178) 评论(0) 推荐(0) 编辑