Commit d340f09a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Don't try to load a handler - the real server is needed.

parent 577644f3
...@@ -505,7 +505,7 @@ FileMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLeft ...@@ -505,7 +505,7 @@ FileMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLeft
res=GetClassFile(This->filePathName,&clsID); res=GetClassFile(This->filePathName,&clsID);
if (SUCCEEDED(res)){ 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)){ if (SUCCEEDED(res)){
res=IPersistFile_Load(ppf,This->filePathName,STGM_READ); res=IPersistFile_Load(ppf,This->filePathName,STGM_READ);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment