Sharing memory between two processes (C, Windows)

前端 未结 7 2081
温柔的废话
温柔的废话 2020-11-27 03:06

Since I haven\'t found an answer to the question asked previously here I\'m trying a different approach.

Is there any way to share memory between two processes?

7条回答
  •  感动是毒
    2020-11-27 03:15

    You can try using Boost.Interprocess to communicate between two processes. But to inject code into a previously existing, not supported software, you'll probably have to use @bdonlan's way using WriteProcessMemory.

提交回复
热议问题