Since 1,0 was passed it never found the Typelib in the register. Changing to the actual version allows the typelib to be loaded.
From: Alistair Leslie-Hughes leslie_alistair@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;