mirror of
https://github.com/reactos/wine.git
synced 2025-01-10 22:00:20 +00:00
ole32: Don't try to load a handler - the real server is needed.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
577644f3c1
commit
d340f09a33
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user