strmbase: Display dll in which we are searching a class to instanciate.
diff --git a/dlls/strmbase/dllfunc.c b/dlls/strmbase/dllfunc.c
index 34e03e6..5c9b8ab 100644
--- a/dlls/strmbase/dllfunc.c
+++ b/dlls/strmbase/dllfunc.c
@@ -362,7 +362,10 @@
if (i == g_cTemplates)
{
- ERR("%s: no class found.\n", debugstr_guid(rclsid));
+ char dllname[MAX_PATH];
+ if (!GetModuleFileNameA(g_hInst, dllname, sizeof(dllname)))
+ strcpy(dllname, "???");
+ ERR("%s: no class found in %s.\n", debugstr_guid(rclsid), dllname);
return CLASS_E_CLASSNOTAVAILABLE;
}
else if (!pList->m_lpfnNew)