-
[Delphi] Wow ReadProcessMemory
Hey, guys I friend of mine recently challenged me to write a wow bot in Delphi
After pouring hours of google search, i cannot get the ReadProcessMemory Function to work in Delphi.
It always throws "Incompatible types" or "identical var required"
The player base address: 0x00E29D28 (2.4.3)
The X cord offset: BF0 (2.4.3)
If anyone can help I'd love you!
Thanks
-
Banned
Originally Posted by
Dupheadss
Hey, guys I friend of mine recently challenged me to write a wow bot in Delphi
After pouring hours of google search, i cannot get the ReadProcessMemory Function to work in Delphi.
It always throws "Incompatible types" or "identical var required"
The player base address: 0x00E29D28 (2.4.3)
The X cord offset: BF0 (2.4.3)
If anyone can help I'd love you!
Thanks
Set the last argument to SIZE_T
-
Post Thanks / Like - 1 Thanks
Dupheadss (1 members gave Thanks to r4zyel2 for this useful post)
-
Hey man thanks for the reply, I know it's a lot to ask for but do you happen to have any example code?
-
Elite User
Originally Posted by
Dupheadss
Hey man thanks for the reply, I know it's a lot to ask for but do you happen to have any example code?
NativeUInt would also work.
Code:
var
myBuffer: Cardinal;
bytesRead: NativeUInt;
hProc: THandle;
begin
{ find, open process... }
ReadProcessMemory(hProc, Pointer($b00b5), @myBuffer, SizeOf(myBuffer), bytesRead);
end;
-
Banned
Originally Posted by
culino2
NativeUInt would also work.
Code:
var
myBuffer: Cardinal;
bytesRead: NativeUInt;
hProc: THandle;
begin
{ find, open process... }
ReadProcessMemory(hProc, Pointer($b00b5), @myBuffer, SizeOf(myBuffer), bytesRead);
end;
Culino still here around :P
Broly7 here (hi)
Both Delphi gods.
-
Post Thanks / Like - 1 Thanks
culino2 (1 members gave Thanks to r4zyel2 for this useful post)