能力值:
( LV2,RANK:10 )
|
-
-
[求助]VB注入DLL后怎么办?
我用剪贴板试了一下,确实有用
不过发现,有时会改变剪贴板的内容,导致读的数据错误,程序退出的问题
我找到了一个解决的办法,试了一下还行
我是这样处理的:回调被注入的test.DLL把内存数据读到剪贴板上,b.exe定时读剪贴板的内容,如果读到的内容是“test.dll &HXXXX ”就表示是由test.dll写的剪贴板,"&HXXXX"表示内存数据,并读取。b.exe读完剪贴板后,再往剪贴板中写入“b.exe read”,test.dll读到这个内容,就表示b.exe已成功读取内存数据,完了以后清除剪贴板,等待一下次回调test.dll
查了一些资料,有回调然后再传回返回值的方法,不过目前还没有实现,只好用上面的方法先用着了
|