Huw Davies : ole32: Don' t try to load a handler - the real server is needed.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 9 09:55:20 CDT 2015
Module: wine
Branch: master
Commit: d340f09a336b28534bacd717e21b021d9e05fff6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d340f09a336b28534bacd717e21b021d9e05fff6
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Oct 9 11:13:23 2015 +0100
ole32: Don't try to load a handler - the real server is needed.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ole32/filemoniker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c
index 6474d9a..9586be9 100644
--- a/dlls/ole32/filemoniker.c
+++ b/dlls/ole32/filemoniker.c
@@ -505,7 +505,7 @@ FileMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLeft
res=GetClassFile(This->filePathName,&clsID);
if (SUCCEEDED(res)){
- res=CoCreateInstance(&clsID,NULL,CLSCTX_ALL,&IID_IPersistFile,(void**)&ppf);
+ res=CoCreateInstance(&clsID,NULL,CLSCTX_SERVER,&IID_IPersistFile,(void**)&ppf);
if (SUCCEEDED(res)){
res=IPersistFile_Load(ppf,This->filePathName,STGM_READ);
More information about the wine-cvs
mailing list