|
[求助]大大们救命啊,快疯掉了“我的练习题:想做一个简单的查找QQ聊天窗口工具”
那就没错了,你调用的是WinAPI的GetDlgItem,而不是CWnd类的GetDlgItem成员函数。出现了读取非法内存错误了。 |
|
[求助]大大们救命啊,快疯掉了“我的练习题:想做一个简单的查找QQ聊天窗口工具”
什么错误?不过估计错误的原因应该是GetDlgItem函数不是调用到CWnd::的GetDlgItem函数,而是调用了WinAPI的GetDlgItem的函数。WinAPI的GetDlgItem不能用类方法来调用(没有怎样用MFC写程序,所以也不太清楚应该如何正确的调用MFC类的CWnd::GetDlgItem函数)。 |
|
[求助]大大们救命啊,快疯掉了“我的练习题:想做一个简单的查找QQ聊天窗口工具”
void CWnd::GetDlgItem( int nID, HWND* phWnd ) const; //应该是这样调用吧? ((CListBox*)GetDlgItem(IDC_LIST1,myhwnd))->AddString(t); |
|
[求助]VC中CLT_CODE是什么意思
#define CTL_CODE( DeviceType, Function, Method, Access ) ( \ ((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \ ) |
|
[求助]想自己写个进制转换器!
用什么语言编写?直接调用别人写好的转换函数不行吗? |
|
[讨论]push 0
没错,是Delphi在初始化局部变量。 |
|
[求助]汇编中使用wcscpy
将代码发齐,比如你的p和p2是全局变量还是局部变量,是WCHAR类型缓冲变量还是WCHAR指针变量。上面不同的类型在内嵌汇编中的操作是不同的。 |
|
[求助]再问一个逆向代码的问题
按代码的操作,可以暂时假定这个操作是计算偏移数据地址。 |
|
[求助]eax buff接受数据的处理
分包和组包这些操作都在系统层里操作的,只要Buf缓冲区足够大,recv返回的包已经是完整的了。 |
|
[求助]eax buff接受数据的处理
recv是将接收到的数据存放到Buff内存中去的(不是在eax中,eax只是一个Buff缓冲区地址指针而已),只要Buff内存缓冲足够大,就可以一次将所以数据接收完毕,并不会切割数据。 |
|
[求助]关于几句逆向程序的疑问
前面已经说过了,和当前环境和编译器对指令的优化而决定。毕竟机器是机器,还没有智能到和人一样的智能。 |
|
[求助]关于几句逆向程序的疑问
第一、使用不使用edx没有固定的说法,主要还是要全局的操作和指令的优化有关系。如可能后面的操作要使用edx的值,而现在改变edx的值就会增加后面再次读取的时间。 第二、暂时不能从最后一句判断var_58就是一个指针,因也可能是一个整数值。可以怀疑var_54是一个结构体或类指针 第三、从之后的操作中可以看出arg_0变量是一个结构体或类指针,所以可以判断前面并不是一个int类型变量,而应该是结构体或类指针变量。 |
|
|
|
[求助]若要将钩子安装于某一进程上,应该怎么办?
invoke GetWindowThreadProcessId,hWndowHandle,0 invoke SetWindowsHookEx,WH_***,offset lp***Proc,hDllInstance,eax |
|
[求助]若要将钩子安装于某一进程上,应该怎么办?
SetWindowsHookEx的最后一个参数设为某个进程的线程ID就行了。 |
|
[求助]请问:为什么mov [eax].iDr4,ebx这句不能编译?
貌似还必须清除Dr6的值和设置Dr7的值为155h。 |
|
[求助]c++程序一闪而过
//可以试试这个函数 #include <stdlib.h> // 包含这个库文件 int main() { system("pause"); // 调用Dos命令暂停控制台窗口。 return 0; } |
|
[求助]请问:为什么mov [eax].iDr4,ebx这句不能编译?
那是软件加密技术内幕书的笔误。不是没有定义,而是硬件寄存器只有0~3和6~7这6个调试寄存器,没有4~5 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值