救命啊 请问有经验的朋友帮下忙 
ReadProcessMemory(Gamehwnd,(LPVOID)(0x0044B580),&RoleFlyMovebbb, 16, NULL); 为什么读出来后RoleFlyMovebbb全是乱码 应该怎么处理?RoleFlyMovebbb是char[16]类型
我想读出来是 图片中的样子 00 00 00 00格式。 

解决方案 »

  1.   

    ReadProcessMemory copies the data in the specified address range from the address space of the specified process into the specified buffer of the current process. The process whose address space is read is typically, but not necessarily, being debugged.
      

  2.   

    Gamehwnd这个参数对否?看名字像是个窗口句柄,并非进程handleRoleFlyMovebbb这个参数是什么类型?如果已经是char*类型了,把前面的&号去掉试试。还有,判断下ReadProcessMemory的返回值,如果失败了,调用下GetLastError看看究竟是什么错误,是参数不对还是页面属性没有READ?