Shell integration idea
mike at plan99.net
Sat Jun 3 17:29:06 CDT 2006
On 6/3/06, Mikołaj Zalewski <mikolaj at zalewski.pl> wrote:
> OK, I won't insist on aggregation :). As for apartments I've thought
> that something like that:
> HRESULT res=CoInitializeEx(NULL, COINIT_MULTITHREADED);
> /* working with objects with ThreadingModel Both */
> if (SUCCEEDED(res)) CoUninitialize();
> won't have any side effects.
Well, you'd be possibly changing the apartment of the current thread,
which is not allowed IIRC.
> But if the number of developers that knows
> about COM is low then maybe that it's better to use simple ops structs
I'd say so...
More information about the wine-devel