[Wine-patches] [eter-2.1] ole32: Disable incomplete default handler support. (eterbug #5099)

Dmitry Timoshkov dtimoshkov на etersoft.ru
Вт Июн 11 07:12:51 MSK 2013


---
 dlls/ole32/compobj.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index d6d364f..cb484cf 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -68,6 +68,8 @@
 #include "wine/unicode.h"
 #include "wine/debug.h"
 
+#include "wine/etersoft.h"
+
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
 #define ARRAYSIZE(array) (sizeof(array)/sizeof((array)[0]))
@@ -2553,6 +2555,10 @@ HRESULT WINAPI CoGetClassObject(
     if (!ppv)
         return E_INVALIDARG;
 
+    /* eterbug #5099 and others: disable incomplete default handler support */
+    if (etercheck_process_name("1cv7*") || etercheck_process_name("1cv8*"))
+        dwClsContext &= ~CLSCTX_INPROC_HANDLER;
+
     *ppv = NULL;
 
     if (!(apt = COM_CurrentApt()))
-- 
1.8.3



Подробная информация о списке рассылки Wine-patches