[PATCH 0/3] MR358: atl: Avoid NULL pointer reference in AtlComModuleGetClassObject().
Jacek Caban (@jacek)
wine at gitlab.winehq.org
Fri Jul 1 13:24:52 CDT 2022
Jacek Caban (@jacek) commented about dlls/atl110/tests/atl.c:
> +#define CONST_VTABLE
> +
> +#include <windef.h>
> +#include <winbase.h>
> +#include <winuser.h>
> +#include <atlbase.h>
> +
> +#include <wine/test.h>
> +
> +static HRESULT (WINAPI *pAtlComModuleGetClassObject)(_ATL_COM_MODULE *, REFCLSID, REFIID, void **);
> +
> +static HMODULE atl110;
> +
> +static void init_functions(void)
> +{
> + atl110 = LoadLibraryA("atl110.dll");
Could we use import lib instead of dynamic loading?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/358#note_3131
More information about the wine-devel
mailing list