Christian Costa <titan.costa@gmail.com> writes:You don't want to do that in the success case.
> @@ -360,14 +361,17 @@ HRESULT WINAPI STRMBASE_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *
> break;
> }
>
> + if (!GetModuleFileNameA(g_hInst, dllname, sizeof(dllname)))
> + strcpy(dllname, "???");