在 Windows 下,有没有办法使用 C++ 修改另一个进程打开的文件/可执行文件?
最佳答案
Is there a way to modify an open executable in windows?
没有。
Is there a way to modify an open file in windows using c++?
是的。如果已使用适当的共享权限打开它。参见 http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx FILE_SHARE_WRITE
关于c++ - 修改打开的文件 C++,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/526583/