Search code examples
compact-frameworkshared-memorymemory-mapped-filesopennetcf

OpenNetCF And MemoryMappedFile


I´m using OpenNetCF in my Win CE app.

I need to use a shared memory solution, and I thought about Using the MemoryMappedFile.

But https://www.opennetcf.com/library/sdf/ does not show how to use it.

I mean, it´s clear to me how can I create a mapped file in one place. But is not clear to me how can I open this mapped file in another place.

Does anyone has a example? Or Does anyone has another solution for shared memory?


Solution

  • Here is another MemoryMapped file usage with example for CF: http://www.codeproject.com/Tips/79069/How-to-use-a-memory-mapped-file-with-Csharp-in-Win

    Unfortunately ctacke's example is v.e.r.y. s.l.o.w.