From d5e78c84c70d3c525f4a26fb04ee4ee66f547770 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 13 Dec 2007 11:46:43 -0800 Subject: [PATCH] ole32: Print a fixme when an aggregation attempt fails. --- dlls/ole32/compobj.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 7ef613ecbe..5339db2847 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -2411,8 +2411,12 @@ HRESULT WINAPI CoCreateInstance( 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%08x\n", - debugstr_guid(iid), debugstr_guid(rclsid),hres); + { + if (hres == CLASS_E_NOAGGREGATION && pUnkOuter) + FIXME("Class %s does not support aggregation\n", debugstr_guid(rclsid)); + else + FIXME("no instance created for interface %s of class %s, hres is 0x%08x\n", debugstr_guid(iid), debugstr_guid(rclsid),hres); + } return hres; } -- 2.32.0.93.g670b81a890