strmbase: Display dll in which we are searching a class to instanciate.

This commit is contained in:
Christian Costa 2012-03-29 09:00:39 +02:00 committed by Alexandre Julliard
parent 2f87a5d459
commit 67d429f0f3

View File

@ -362,7 +362,10 @@ HRESULT WINAPI STRMBASE_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *
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)