delphi 循环
发布网友
发布时间:2024-10-14 13:02
我来回答
共3个回答
热心网友
时间:2024-12-14 22:09
那就直接用循环语句啊
var
i: Integer;
begin
for i := 1 to n do
begin
ReadProcessMemory(ProcessID, Pointer(ECXI + $4), @ECXI, 4, Num);
end;
end;
这样就好了啊
热心网友
时间:2024-12-14 22:09
const baseadr = $010e4338;
Var
I:integer;
begin
ReadProcessMemory(ProcessID, Pointer(baseadr), @ECXI, 4, Num);
//让 ReadProcessMemory(ProcessID, Pointer(ECXI + $4), @ECXI, 4, Num);加 N次
for I:=1 to N do
ReadProcessMemory(ProcessID, Pointer(ECXI + $8), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $f8), @ECXI, 4, Num);
end;
热心网友
时间:2024-12-14 22:10
不知道这么对不
Var
const baseadr = $010e4338;
end;
ReadProcessMemory(ProcessID, Pointer(baseadr), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $4), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $4), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $4), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $8), @ECXI, 4, Num);
ReadProcessMemory(ProcessID, Pointer(ECXI + $f8), @ECXI, 4, Num);