Commit 67d429f0 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

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

parent 2f87a5d4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment