import win
import process
var statusstausHwnd = 592656 //状态栏句柄
var tid,pid = win.getThreadProcessId(statusstausHwnd) //获取进程id
var prcs = process( pid )
var p = prcs.malloc( 255 ); //对方进程中分配内存
prcs.writeString( p,“hello” ); //对方内存中写入字符串
::SendMessage( statusstausHwnd, 0x401, topointer(1),topointer(p)); //修改指定分块内容
prcs.mfree(p) //释放分配的内存