Requires: GfaWinx.lg32
Writes a string, byte, word, or long data type to protected process memory.
PokeProcess adr, sBytes [, fVerify]
PokeProcess1 adr, byte [, fVerify]
PokeProcess2 adr, word [, fVerify]
PokeProcess4 adr, long [, fVerify]
adr | : integer expression |
sBytes | : string expression |
byte | : byte expression |
word | : word (16-bit int) expression |
long | : integer 32 expression |
fVerify | : boolean expression |
PokeProcess* is capable of writing data to protected process memory, whcih is not possible with GB32's Poke commands. The commands provide an optional boolean parameter that forces verification of the changed bytes. This allows the program to check for success, because there are occasions where writing to process memory is not allowed. Once checked, the fVerify parameter can be left out or set to False. These commands require knowledge of the process's internal coding.
No example, these commands are only available to change GB32's behavior while running and requires knowledge of the process and/or DLL (GfaWin32.exe and GfaWin23.Ocx).
These commands will be used to patch the IDE and/or runtime while running.
{Created by Sjouke Hamstra; Last updated: 24/08/2021 by James Gaite}