Rob Shearman : ole32: OleLoad should call CoCreateInstance with CLSCTX_INPROC_SERVER as well as CLSCTX_INPROC_HANDLER .

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 6 06:03:57 CST 2007


Module: wine
Branch: master
Commit: 356fdcbb1545d076cf921301c90ab4ae9f99d59c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=356fdcbb1545d076cf921301c90ab4ae9f99d59c

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Mar  5 20:44:52 2007 +0000

ole32: OleLoad should call CoCreateInstance with CLSCTX_INPROC_SERVER as well as CLSCTX_INPROC_HANDLER.

---

 dlls/ole32/ole2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index fa02c42..8b3103f 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -966,7 +966,7 @@ HRESULT WINAPI OleLoad(
    */
   hres = CoCreateInstance(&storageInfo.clsid,
 			  NULL,
-			  CLSCTX_INPROC_HANDLER,
+			  CLSCTX_INPROC_HANDLER|CLSCTX_INPROC_SERVER,
 			  riid,
 			  (void**)&pUnk);
 




More information about the wine-cvs mailing list