I have tried everything but can't seem to get it to return a value
example: myval=PEEK DWORD (400000) also tryed this in DEC format
i've also tried word, INT, STRING ETC..
does this function only apply to the current DBP exe with a mem block created with the create memblock?
my goal is to write a firewall prog and another one that runs in the background monitering the memory like spybots SD resident does
if someone could help it would be great I have also tried using the user32.dll and kernl.dll to read memory but could not get that to work eather
createUI()
createHotKey 201,1,0,0,ASC("S")
WINDOW=CALL DLL(1, "FindWindowA",0,"Element Client")
wait 250
LINK_APP1=CALL DLL(1, "GetWindowThreadProcessId",WINDOW,0)
LINK_APP2=CALL DLL(1, "GetWindowThreadProcessId",mainWindow(),0)
openproc=CALL DLL(2, "OpenProcess",0x00020000,0,LINK_APP1)
someval=CALL DLL(1, "SetForegroundWindow",WINDOW)
memloc=CALL DLL(2, "ReadProcessMemory",LINK_APP1,400000,0,4,0)
wait 250
SetGadgetText debug_txt1,"PW : "+str$(LINK_APP1)
SetGadgetText debug_txt2,"PID : "+str$(LINK_APP2)+" = "+str$(memloc)