>From 41ef2c5b180683b0735e30d2af183b4734ecc851 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Wed, 12 Oct 2011 20:40:00 +1100
Subject: [PATCH] Add WARN when ICorDebugManagedCallback2 cannot be found
To: wine-patches <wine-patches@winehq.org>

---
 dlls/mscoree/cordebug.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/mscoree/cordebug.c b/dlls/mscoree/cordebug.c
index 62ded24..c5342bc 100644
--- a/dlls/mscoree/cordebug.c
+++ b/dlls/mscoree/cordebug.c
@@ -142,6 +142,10 @@ static HRESULT WINAPI CorDebug_SetManagedHandler(ICorDebug *iface, ICorDebugMana
 
         ICorDebugManagedCallback_AddRef(This->pCallback);
     }
+    else
+    {
+        WARN("Debugging without interface ICorDebugManagedCallback2 is currently not supported.\n");
+    }
 
     return hr;
 }
-- 
1.7.4.1

