Sunday, 15 September 2013

c++ - Send HBITMAP over socket -



c++ - Send HBITMAP over socket -

i need code in c++ gets hbitmap 1 side , sends through socket , on other side receive , create hbitmap again.

it has fast , effective

if more comfortable, utilize gdi+ bitmap

that's not going work!

what need go convert hbitmap bitmap using getobject function. serialize object on network. note: you'll need create sure serialize bmbits fellow member correctly.

on other side, 1 time you've deserialized bitmap can utilize createbitmapindirect hbitmap.

c++ sockets bitmap

No comments:

Post a Comment