|
OpenProcess 返回值为-1
如何查找?QQ登录窗口和登录后的窗口标题是一样。无法查找。 |
|
OpenProcess 返回值为-1
把这个代码放到按钮中,在QQ正在登录或输入QQ密码时按钮执行这个代码返回值是-1,等QQ登录成功按钮这个按钮那返回值就是正常。我要软件自动判断QQ是不是登录成功。所以只能是加到timer中。但是加到timer中不管是登录成功还是正在登录都返回-1。为什么登录成功后返回不是正常的返回值。 如果说我把这些代码写成一个函数。在timer中调用不成。在按钮中调用是正常。不知道我说的够不够明白。 所以我也不知道这是为什么。问大家了咯……………… 大家也可以测试一下看是不是这样。 |
|
OpenProcess 返回值为-1
是的。一定要判断他是不是登录成功。 |
|
OpenProcess 返回值为-1
那代码加到按钮中怎么又可以呢? |
|
OpenProcess 返回值为-1
PROCESSENTRY32 pe; // 创建快照句柄 HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); // 先搜索系统中第一个进程的信息 Process32First(hSnapshot,&pe); // 下面对系统中的所有进程进行枚举。 do { if(strlwr(pe.szExeFile)=="qq.exe") //判断当前进程是否有qq.exe { HANDLE hProcess=OpenProcess(PROCESS_ALL_ACCESS,FALSE,pe.th32ProcessID);//返回句柄,在登录窗口时返回的句柄是-1,0就是没有得到。如果得到就是别的数。 if ((DWORD)hProcess !=0 && (DWORD)hProcess !=-1) { MessageBox("QQ登录成功!"); } } }while (Process32Next(hSnapshot, &pe)); CloseHandle(hSnapshot); 这是代码。 |
|
[原创]新写了一个DLL注入工具,欢迎大家提意见
兄弟,你的软件不能注入到QQ。 |
|
[原创]新写了一个DLL注入工具,欢迎大家提意见
测试了一下。把一个DLL注入到QQ注入不了。 |
|
[分享]windows登陆密码查看工具
支持!支持!支持! |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值