ole32 : wrong check in compobj.c

Bill Medland billmedland at mercuryspeed.com
Mon Jan 10 14:22:18 CST 2005


On January 10, 2005 11:40 am, Robert Shearman wrote:
> Paul Vriens wrote:
> >On Mon, 2005-01-10 at 18:02, Robert Shearman wrote:
> >>The parameter to CoInitializeEx is of type COINIT and so the caller can
> >> also specify another flag like COINIT_DISABLE_OLE1DDE along with the
> >> apartment flag. So we either need to convert the values to booleans
> >> before we call the lower level COM_CreateApartment or we need to be more
> >> careful and change the comparisons to this: if ((dwCoInit &
> >> (COINIT_APARTMENTTHREADED|COINIT_MULTITHREADED) == COINIT_MULTITHREADED)
> >> ...
> >
> >Any volunteers for this stuff? It's way over my head already :-).
> >I will try as much as I can, but I'm sure the real men have this nailed
> >in a sec.
>
> I'll knock something up later on today if I have time, or tomorrow
> otherwise.
>
> Rob

I've done it;
(I wonder if the optimizer will replace it with "not apartment threaded" for 
us)

-- 
Bill Medland
mailto:billmedland at mercuryspeed.com
http://webhome.idirect.com/~kbmed




More information about the wine-devel mailing list