OLEPictureImpl_Load: fix for headerless pictures

Fabian Cenedese Cenedese at indel.ch
Tue Feb 3 03:19:24 CST 2004

>> >In my case there are lots of *.bmp (with picture) with exactly same header
>> >i mentioned. Thus header[1]==0 doesnt imply 'there is no picture at all'
>> >
>> >This pictures came in ole storage taken from a real win32 app, and loading
>> >them on windows works correctly.
>> Do you have VB6? Can you create a testprogram? If not then I can send you one.
>> Just create an empty form and place the SSTab on it (the one from tab control,
>> not the one in the standard palette).
>I don't have VB. In fact i ether dont have VC and windows installed at all
>If you have an winelib based example, let's try get it working.

It's not a winelib app but I can send you the exe and ocx off the list.

>> This fails on on my computer and I don't
>> know how wine could detect if it's a headerless picture or no picture at all
>> if they look the same (so far).
>Maybe check header[0] to be real .bmp or .gif magic and header[1] for

I couldn't see a difference, always 0x746c in the first entry.

bye   Fabi

More information about the wine-devel mailing list