OLEPictureImpl_Load: fix for headerless pictures

Kirill Smelkov kirr at landau.phys.spbu.ru
Thu Feb 5 18:39:51 CST 2004


Fabi,
I'm sorry for the delay in sending you this...

[snip]

> >
> >Fabi,
> >
> >I temporarly disable checking for (header[1]==0). even in such case
your
> >test-case doesn't start:
[snip]
>
> Where did you disable it? My patch or yours? With my patch it should
> never even get to try to call CreateIcon (which fails). So either the
field
> is not 0 or you don't jump out.

I juste removed my header[1]==1, so you can say i rejected my patch.

> >and then
> >
> >MessageBox with
> >"Failed to load control 'SSTab' from TABCTL32.OCX. Your version of
> >TABCTL32.OCX is outdated...."
> >
> >Does it work at all?
>
> This is the error I wanted to eliminate, just look for my postings with
> SSTAB in the subject in the last two months :)
> When I jump out if header[1] is 0 then I don't get this error anymore
and
> VB programs with the SSTab control come up. But I only tried those
> without icons as I assumed that those with icons don't have a 0 field.
But they do have 0 field...

I can't help you until i see how your app is supposed to work.
Please make sure the programm runs without (header[1]==0).

-- 
    Kirill.





More information about the wine-devel mailing list