64,660
社区成员
发帖
与我相关
我的任务
分享
CString name;
LPVOID buf = name.GetBuffer(100);
t_list::iterator iter = lst.begin(); //取容器中的进程句柄
ReadProcessMemory(iter->Get_Game_proHanle(), (LPCVOID)( 0x0B6763C + 0x1c + 0x28 + 0x278 ), buf, 100, NULL);
name.Format(_T("%s"), temp);
AfxMessageBox(name);
const Char *tohex = "0123456789ABCDEF";
void ByteToHex(const BYTE *pInput,int iInlen,BYTE *pOutput)
{
Int32 i = 0;
while (i < iInlen)
{
*pOutput++ = tohex[pInput[i] >> 4];
*pOutput++ = tohex[pInput[i] & 0x0F];
++i;
}
}