Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

Question about CreateProcess

$
0
0
When I use CreateProcess to start a program from another program, do I get access to the virtual memory space of the created process? Normally if I use CopyMemory to try to copy from one process to another I crash the program. But that's when I start both programs separately with double-clicking the EXE files. If I use CreateProcess though to start a program from another, does the program that is calling CreateProcess get access to the virtual memory space of the created process, such that the 2 programs can exchange data with each other via CopyMemory? Potentially useful for one EXE file being a graphics program, and another EXE file being an image-editing-plugin for said graphics program, if the 2 programs were able to share the same virtual memory space, and therefore transfer large amounts of data between them (like byte arrays for all those pixels), if it works the way I'm thinking.

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>