[PATCH 0/1] MR5880: msado15: Use the correct version when loading the typelib
Since 1,0 was passed it never found the Typelib in the register. Changing to the actual version allows the typelib to be loaded. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5880
From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- dlls/msado15/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msado15/main.c b/dlls/msado15/main.c index 6489ae3f9b7..2d2f220c06f 100644 --- a/dlls/msado15/main.c +++ b/dlls/msado15/main.c @@ -159,7 +159,7 @@ static HRESULT load_typelib(void) if(typelib) return S_OK; - hres = LoadRegTypeLib(&LIBID_ADODB, 1, 0, LOCALE_SYSTEM_DEFAULT, &tl); + hres = LoadRegTypeLib(&LIBID_ADODB, 2, 8, LOCALE_SYSTEM_DEFAULT, &tl); if(FAILED(hres)) { ERR("LoadRegTypeLib failed: %08lx\n", hres); return hres; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5880
participants (2)
-
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes)