ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run.

Nikolay Sivov bunglehead at gmail.com
Mon Oct 8 01:07:58 CDT 2012


On 10/6/2012 19:29, Roman Dadkov wrote:
> This patch change dwClsContext parameter of a CoCreateInstance call in 
> function DefaultHandler_Run.
> Because even if there is some clsid in the registry, the function will 
> not be able to run the newly created object.
>
>
> -  hr = CoCreateInstance(&This->clsid, NULL, CLSCTX_LOCAL_SERVER,
> +  hr = CoCreateInstance(&This->clsid, NULL,
> +                        CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER|
> +                        CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER,
>                           &IID_IOleObject, (void **)&This->pOleDelegate);
This could be replaced with CLSCTX_ALL.

Is it possible to add a test for that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20121008/2c47fb73/attachment.html>


More information about the wine-devel mailing list