problem with oleloadpicture



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 used
to 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?

.



Relevant Pages

  • Re: Is this the end of RADW?
    ... searching through hundreds of spam posts just to find one legitimate ... I`m at something of a loss to understand the fuss...I received a whole load ... I`m not receiving any spam, just loads of posts from you proclaiming the end ... Merry CHRISTmas 2007 and Happy New Year 2008! ...
    (rec.arts.drwho)
  • DBI_DB2 problems
    ... I have problems accessing my DB2 database via CGI in web application. ... am receiving this error: ... install_driverfailed: Can't load ...
    (comp.lang.perl.modules)
  • Re: perfproc.dll
    ... > I'm running W2K server and am receiving the following message in the event ... > WMI ADAP was unable to load the perfproc.dll performance library due to an ...
    (microsoft.public.win2000.networking)
  • Math::GMP Make Test error on Itanium running HP-UX 11.23
    ... I am receiving the following error when I do a make test for Math::GMP ... Can't load ... An ldd -r on ... symbol not found: _isspace ...
    (comp.lang.perl.modules)