> I tried to use the IPicture interface, but I have faced a problem.
> OleLoadPicture( ) returns CTL_E_INVALIDPICTURE, and it doesn't matter what
> kind of input file is used (jpg, gif, bmp).  What can be the
> problem?  MSDN
> doesn't seem to show any results...

Let's start with a BMP, since as far as I know the OLE system only handles
Windows picture formats.

How are you trying to use OleLoadPicture()? I would have tried to test it
but I don't know a good way to get the IStream and I don't have a clue what
IID to ask for and why I would even want one...

How come you don't use CPictureHolder in your control?

--
Jason Teagle
[EMAIL PROTECTED]




Reply via email to