access memory from another process c plus plus
Posted on 2009-05-05
Hi chaps, can anyone explain to me how the following could be achieved?
I create a console ap which reads data into memory, there is an overall pointer that accesses the collection. The collection is arrays that are on the heap and the collection is just pointers to the arrays thats basically it.
What I want to know and if it can be done how to do it is this:
I want to read the data into memory at the start of the day and just leave it open until I close the application. I want to run a new console application ie another separate process and access the data thats already in memory. Can this be done? and How? Cheers
PS Im in native C++ not managed.