Better error msgs
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Tue Oct 23 08:36:49 CDT 2001
Huw D M Davies <hdavies at codeweavers.com>
Better failure messages for CoCreateInstance.
-------------- next part --------------
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.46
diff -u -r1.46 compobj.c
--- dlls/ole32/compobj.c 2001/09/11 00:26:12 1.46
+++ dlls/ole32/compobj.c 2001/10/23 12:08:24
@@ -1454,7 +1454,8 @@
(LPVOID)&lpclf);
if (FAILED(hres)) {
- FIXME("no instance created for %s, hres is 0x%08lx\n",debugstr_guid(iid),hres);
+ FIXME("no classfactory created for %s, hres is 0x%08lx\n",
+ debugstr_guid(rclsid),hres);
return hres;
}
@@ -1463,6 +1464,9 @@
*/
hres = IClassFactory_CreateInstance(lpclf, pUnkOuter, iid, ppv);
IClassFactory_Release(lpclf);
+ if(FAILED(hres))
+ FIXME("no instance created for interface %s of class %s, hres is 0x%08lx\n",
+ debugstr_guid(iid), debugstr_guid(rclsid),hres);
return hres;
}
More information about the wine-patches
mailing list