|
|
|
|
|
[分享]10几个G的资料,什么都有
没有10个G吧 怎么用ie下载下来的压缩文件都打不开啊。。。。 |
|
[讨论]TerminateProcess结束多个同名进程和多个进程
这种方法好像也有问题 不能全部终止进程,要不是OpenProcess报错,就是TerminateProcess报错。很少能全部终止的。 不过我试验了下面的方法是可以的: void FindKillProcess(LPSTR szProcessName) { DWORD dwPid; HANDLE hProcess; char szShow[BUFSIZE]; DWORD dwExitCode; PROCESSENTRY32 pe32 = {0}; HANDLE hSnapshot; pe32.dwSize=sizeof(PROCESSENTRY32); hSnapshot=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); //´´½¨¿ìÕÕ while (Process32Next(hSnapshot,&pe32)) //±éÀú½ø³ÌÐÅÏ¢ { if(lstrcmpi(pe32.szExeFile,szProcessName)==0) { dwPid = pe32.th32ProcessID; hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,dwPid); if(hProcess == NULL) { wsprintf(szShow,"Error to open process with error code %d",GetLastError()); // MessageBox(NULL,szShow,"error",MB_OK|MB_ICONERROR); } //terminate it if(!TerminateProcess(hProcess,GetExitCodeProcess(hProcess,&dwExitCode))) { // wsprintf(szShow,"Error to terminate process with error code %d",GetLastError()); // MessageBox(NULL,szShow,"error",MB_OK|MB_ICONERROR); } CloseHandle(hProcess); } } } 欢迎继续讨论啊 |
|
|
|
|
|
|
|
|
|
|
|
[原创]看雪论坛挂机有感。。。
虽然有一些浏览器是可以实现自动刷新的功能,但是通过浏览器刷新的问题可以往外发散,比如如果自动往qq里面输入消息,如果自动打开浏览器,输入要访问的网址。。。等等自动化的工作。。怕是用360浏览器做不了吧。 不过我们可以用autoit自动脚本编程实现,如果技术再好些,可以通过Hook等技术直接干预目标程序。(其实autoit或许就使用了hook技术) |
|
|
|
[原创]看雪论坛挂机有感。。。
迫不得已啊 希望能赶快成长啊!!! |
|
|
|
[分享]为求邀请码而拿出珍藏的东东:黑基VIP资源分享下载
资料其实网上有很多,楼主分享的再多,也值不了楼主自己原创一篇对论坛兄弟有帮助的帖子啊!!! |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值