[PATCH] imm32: Automatically initialize COM on window activation.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jan 30 04:09:47 CST 2019


Huw Davies <huw at codeweavers.com> wrote:

> On Tue, Jan 29, 2019 at 04:32:19PM +0800, Dmitry Timoshkov wrote:
> > Nikolay Sivov <nsivov at codeweavers.com> wrote:
> > > >> Why would it better to delay-load?
> > > > Because loading ole32 is very expensive.
> > > What's expensive about it?
> > Mostly dependencies and initialization.
> 
> Just to set the record straight, both ole32 and rpcrt4 (which
> ole32 loads) essentially have no initialization code.  So the
> overhead involved is just that of the loader itself.

Starting up services and performing IPC takes most of the initialization
time I'd guess, not mentioning that is not quite fair IMO.

-- 
Dmitry.



More information about the wine-devel mailing list