|
|
var
llhwnd:hwnd;
Longs:longint;
pHandle ongint;
str:char;
tt:Cardinal;
begin
llhwnd:=findwindow(nil,'连连看 v3.6');
getwindowthreadprocessid(llhwnd,@longs);
phandle:=openprocess(PROCESS_ALL_ACCESS,false, longs);
readprocessmemory(phandle,ptr($0013FEBC),@str,sizeof(str),tt);
edit1.text:=str;
总是读不出那个地址的值,还有writeprocessmemory怎么写?
sendmessage的鼠标模拟怎么弄?已经用setcusor设定好坐标,
问题有点多还望高手交角我啊 |
|