Repository contains some examples of passing\marshaling objects and (re)allocation memory between managed (c#) and native (c++) code:
- RunPassBufferCase() - byte array passing
- RunPassBufferAndReallocMemoryCase() - byte array memory reallocation within native code by call back to managed code
- RunPassStructCase() - structure passing
How to:
- Build Debug x64 with VS 2019 Preview
- Run ConsoleApp1