<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/6/2012 19:29, Roman Dadkov wrote:<br>
    </div>
    <blockquote
      cite="mid:9a5dbdc81dce26a8cb22d5e822765461@office.etersoft.ru"
      type="cite">This patch change dwClsContext parameter of a
      CoCreateInstance call in function DefaultHandler_Run.
      <br>
      Because even if there is some clsid in the registry, the function
      will not be able to run the newly created object.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
    </blockquote>
    <blockquote type="cite">
      <pre wrap="">-  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);</pre>
    </blockquote>
    This could be replaced with CLSCTX_ALL.<br>
    <br>
    Is it possible to add a test for that?<br>
  </body>
</html>