How to send a byte array to another process in C++

前端 未结 2 807
梦如初夏
梦如初夏 2021-01-18 21:29

I have been checking on the site for a way to transfer data from a process to another one in C++. I found the method SendMessage() but it does not seem to be able to take a

2条回答
  •  爱一瞬间的悲伤
    2021-01-18 21:58

    If you want to use SendMessage you can use the WM_COPYDATA message to send a block of data although it's just a block of bytes, not an object.

提交回复
热议问题