当前位置:编程学习 > VC++ >>

VC修改DNF

HWND hwnd=::FindWindow(NULL,"地下城与勇士"); DWORD processid; ::GetWindowThreadProcessId(hwnd,&processid); HANDLE processH=::OpenProcess(PROCESS_ALL_ACCESS,false,processid); DWORD byread; LPCVOID pbase=(LPCVOID)0x01DEE020; //基址 血 LPVOID nbuffer=(LPVOID)&mo; ::ReadProcessMemory(processH,pbase,nbuffer,4,&byread);//读取数据 int k=100; mo+=k; WriteProcessMemory(processH,(LPVOID)pbase,(LPVOID)&mo,4,NULL); 我找到了DNF 血基址 但无法修改修改 我是新手
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,