Tell the user if winedefault.reg is not loaded.

oldstable
Marcus Meissner 2002-05-16 20:26:40 +00:00 committed by Alexandre Julliard
parent 9b6f433ebb
commit f9bf085108
1 changed files with 6 additions and 1 deletions

View File

@ -473,7 +473,12 @@ CoMarshalInterface( IStream *pStm, REFIID riid, IUnknown *pUnk,
}
hres = IMarshal_MarshalInterface(pMarshal,pStm,riid,pUnk,dwDestContext,pvDestContext,mshlflags);
if (hres) {
FIXME("Failed to Marshal the interface, %lx?\n",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);
}
goto release_marshal;
}
release_marshal: