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
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.