What is the c++ code in delphi?Code:BYTE btJump[] = { 0xEB, 0x37, 0x90, 0x90, 0x90 }; memcpy( (LPVOID)0x004BC8F4, &btJump, sizeof( btJump ) );
sorry my english is bad.
What is the c++ code in delphi?Code:BYTE btJump[] = { 0xEB, 0x37, 0x90, 0x90, 0x90 }; memcpy( (LPVOID)0x004BC8F4, &btJump, sizeof( btJump ) );
sorry my english is bad.
Read Dwar's thread here - https://progamercity.net/delphi/789-...es-memory.html
{or so}
var
RetWORD
begin
WriteProcessMemory(GetCurrentProcess(), ptr(ptr($4BC8F4)),$90909037EB,5,Ret);
end;
{onde $9090 seria 2 Nop em Asm e EB Seria o OPcode do JMP.}