I haven't tested filemapping yet, but instead went straight for the DLL method.
It's a very fast and easy method for sharing data between two or several applications, as long as one follow the rules.
Don't share pointers and use some sort of syncronization(mutex for example) to keep the applications from accessing the shared mem at the "same time".
Of course Microsoft recommends the filemapping method and I will try that.
But if the filemapping proves to be "slow" then the DLL method will be my choice.
Speed is of high importance in my current little project.
It's a very fast and easy method for sharing data between two or several applications, as long as one follow the rules.
Don't share pointers and use some sort of syncronization(mutex for example) to keep the applications from accessing the shared mem at the "same time".
Of course Microsoft recommends the filemapping method and I will try that.
But if the filemapping proves to be "slow" then the DLL method will be my choice.
Speed is of high importance in my current little project.