Sharing variables between C# and C++
There is no problem sharing memory between C# and C++ using P/Invoke once you know how it works. I would suggest reading about marshaling in MSDN. You might also want to read about using the unsafe keyword and fixing memory. Here is a sample that assumes that your variables can be described as a simple … Read more