pointers always lie in the same process. It is private to the process, relative to the base address of the process. Different operating systems have different IPC mechanisms available. You can choose Windows Messaging, shared memory, socket, channels, etc. Choose one according to your requirements and data size. Another mechanism is to write data to the target process using the available virtual memory APIs and notify the process with an appropriate pointer.
sarat source share