From 797bdbc2d9f20b3730b2290cfc423e56a6be072d Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 13 Jul 2006 13:07:01 +0100 Subject: [PATCH] oleaut32: Typelib interfaces with the FDUAL flag should also be registered, since dispinterfaces don't have the FDISPATCHABLE flag. --- dlls/oleaut32/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index ce3a1dccc05..ccb58293e3d 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -597,7 +597,7 @@ HRESULT WINAPI RegisterTypeLib( MESSAGE("\n"); } - if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDISPATCHABLE)) + if (tattr->wTypeFlags & (TYPEFLAG_FOLEAUTOMATION|TYPEFLAG_FDUAL|TYPEFLAG_FDISPATCHABLE)) { /* register interface<->typelib coupling */ get_interface_key( &tattr->guid, keyName );