Here's the problem I'm trying to solve:
I've written a DLL that's used as a plugin within another program.
Within the DLL is a number of structure allocations which represent the positions of points in a mesh (over time). These allocations can be very very large.
If another instance of the main program is started and my plugin is loaded, I would like to be able to access (read) these allocated structures from the first DLL instance. I would not be changing the info in memory, I just need to read it.
I can obviously write the structure to a file in the first Instance and read that back into the second Instance's memory. But because of the size, direct access to these memory structures would be optimal.
What is the best solution to this problem?
p.s. after discussing the methodology, I'll start posting some code snippets so others can follow my learning process. I'm sure I'm not the only one that has wanted to share memory but didn't know how.