Tell the user if winedefault.reg is not loaded.
This commit is contained in:
parent
9b6f433ebb
commit
f9bf085108
|
@ -473,7 +473,12 @@ CoMarshalInterface( IStream *pStm, REFIID riid, IUnknown *pUnk,
|
||||||
}
|
}
|
||||||
hres = IMarshal_MarshalInterface(pMarshal,pStm,riid,pUnk,dwDestContext,pvDestContext,mshlflags);
|
hres = IMarshal_MarshalInterface(pMarshal,pStm,riid,pUnk,dwDestContext,pvDestContext,mshlflags);
|
||||||
if (hres) {
|
if (hres) {
|
||||||
|
if (IsEqualGUID(riid,&IID_IClassFactory)) {
|
||||||
|
MESSAGE("\nERROR: You need to merge the 'winedefault.reg' file into your\n");
|
||||||
|
MESSAGE(" Wine registry by running: `regedit winedefault.reg'\n\n");
|
||||||
|
} else {
|
||||||
FIXME("Failed to Marshal the interface, %lx?\n",hres);
|
FIXME("Failed to Marshal the interface, %lx?\n",hres);
|
||||||
|
}
|
||||||
goto release_marshal;
|
goto release_marshal;
|
||||||
}
|
}
|
||||||
release_marshal:
|
release_marshal:
|
||||||
|
|
Loading…
Reference in New Issue