Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We know memory mapped files (MMF) is a powerful technique for serious IPC. Now .NET 4.0 has added MMF support, which is good news for .NET developers. My question is if my native C++ app has created a named MMF, is it accessible to .NET apps? In other words, can managed and umanaged apps share a named MMF?
Posted
Updated 8-Nov-10 10:23am
v6

Judging by this[^], yes if they are in different processes (from the first couple of paras. Didn't read any further).
 
Share this answer
 
I suppose it should work (you can definitelly use PInvoke). link[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900