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?