problem with oleloadpicture
- From: Shiju <sasishiju@xxxxxxxxx>
- Date: Wed, 9 Jan 2008 23:09:15 -0800 (PST)
Hi,
I have written a networked application. In one view, I will load a
bitmap/jpeg and the same file will be sent as a stream of bytes to
other networked machines(network transfer of file data).
At the receiving end, A globalalloc is done to get buffer whose size
equal to filesize. Then into that global memory, the file is copied.
From that global memory a stream is created and oleloadpicture is usedto load it to a
picture object. Then the same is drawn in the view at the recepient
side.
This approach works fine for jpeg loaded in one machine and the same
is transmitted and the receiving machines also render it properly. But
bitmaps dont work as expected at the receiving end.
Can any one please throw some light into this and help me?
.
- Follow-Ups:
- Re: problem with oleloadpicture
- From: David Ching
- Re: problem with oleloadpicture
- Prev by Date: Re: RichEdit margins??
- Next by Date: Re: VC2008 dpiaware manifest?
- Previous by thread: Re: RichEdit margins??
- Next by thread: Re: problem with oleloadpicture
- Index(es):
Relevant Pages
|