如何修改变量从不同​​的过程,C#应用程序 [英] How to modify variable from different process in c# application

查看:100
本文介绍了如何修改变量从不同​​的过程,C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我需要修改变量的值,这是其他应用程序中,以改变其行为。

Once I needed to modify a variable that was inside another application in order to modify its behavior.

我不知道它是否不可能性,以创建一个应用程序将能够访问到同一台计算机上运行的另一个进程,并修改一些变量值。进程是本地的,而应用程序是用C ++编写。你知道一些好的教程,以帮助实现这一目标?

I wonder whether its possibile to create an application that will get access to another process running on the same computer and modify some variable value. Process is a native one, and the application is written in c++. Do you know some good tutorials that help to achieve this?

推荐答案

我认为你正在寻找WriteProcessMemory的功能,就一起来看看

I think you are looking for WriteProcessMemory function, take a look on this

这篇关于如何修改变量从不同​​的过程,C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆