简体   繁体   中英

C# Memory Mapped File - Bitmap

Can any help, please>

Can anyone provide me with the basics of passing (interprocess) a bitmap?

Send & Receive in C#

CreateFileMapping, I belive, is still the only way to do this.

Many thanks in advance.

Are both applications written in .NET? If so, please take a look at WCF (Windows Communication Foundation).

See: IPC Mechanisms in C# - Usage and Best Practices..

this article is a little old but has some sample code that demonstrates it's usage.

http://msdn.microsoft.com/en-us/library/aa446520.aspx

there are numerous other samples on MSDN as well as the web. Moving a biap this way won't be easy though, you'll have to save it to a MemoryStream first.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM