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.

I'm not sure how you deconstruct/reconstruct the bitmap.

Many thanks in advance.

Recommended Answers

All 3 Replies

Can explain better what it is you are doing?

Just send it as binary data like you would anything else -- but the question is *how* are you going about handling IPC? Are you using WM_COPYDATA, named pipes, etc? I like named pipes :)

Just send it as binary data like you would anything else -- but the question is *how* are you going about handling IPC? Are you using WM_COPYDATA, named pipes, etc? I like named pipes :)

Thanks snake. Nice reply. I like WM_CopyDATA. However, I did this, in the end, by using an Memory mapped file. Worked really well in end.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.