ole32 : wrong check in compobj.c
rob at codeweavers.com
Mon Jan 10 13:40:43 CST 2005
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
More information about the wine-devel