-
-
[求助]地址是对的,为什么readprocessmemory无法读取正确的内容
-
发表于:
2009-7-31 17:01
5312
-
[求助]地址是对的,为什么readprocessmemory无法读取正确的内容
DWORD cScore;
char* score = new char[10];
char* scoredem = new char[10];
memset(score,'0',strlen(score));
memset(scoredem,'0',strlen(scoredem));
HANDLE gongzhu = OpenProcess(PROCESS_VM_READ|PROCESS_VM_OPERATION|PROCESS_QUERY_INFORMATION,false,mPID);
//东家
ReadProcessMemory(gongzhu,(LPCVOID)0x00CF34B8,(LPVOID)score,4,&cScore);
if(strcmp(score,scoredem)!=0)
{
long seast = atoi(score);
itoa(seast,scoredem,10);
}
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课