是否可以从一个应用程序访问另一个存储器?如何? [英] Is it possible to access memory from an application to another ? How?
问题描述
标题有点混乱.但是,我正在尝试做的事情是这样的:
The title is a bit confused. But, I'm trying to do is some thing like:
我在应用程序中有按钮(TButton类中的Button1). 我想获取此按钮的指针值,并从第二个应用程序中检查其属性.
I have button (Button1 from TButton class)in a application. I want to get the pointer value of this button and check it properties from a second application.
有人可以说可能吗?如果不是,请说明原因?
Some one can say if it is possible ? And if it's not, explain why ?
Tks.
重新打开,因为我在互联网上获得了其他信息.
Re-opening 'cause I got other informations on internet.
如果我使用类似的东西? ReadProcessMemory
If I use things like ? ReadProcessMemory
示例: http://www.codeproject.com/KB/threads/int64_memsteal.aspx http://forum.cheatengine.org/viewtopic.php?p=4150408&sid=2358f118bab9f54b032d99377aed0545
Examples: http://www.codeproject.com/KB/threads/int64_memsteal.aspx http://forum.cheatengine.org/viewtopic.php?p=4150408&sid=2358f118bab9f54b032d99377aed0545
推荐答案
有可能.只需使用Windows API函数WriteProcessMemory/ReadProcessMemory
.传递过程的句柄和指向数据的指针.
It is possible. Just use the Windows API functions WriteProcessMemory/ReadProcessMemory
. Pass in the handle of the process and the pointer to the data.
这篇关于是否可以从一个应用程序访问另一个存储器?如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!