Alistair Leslie-Hughes : mscoree: Add WARN when ICorDebugManagedCallback2 cannot be found.

Alexandre Julliard julliard at winehq.org
Wed Oct 12 14:31:18 CDT 2011


Module: wine
Branch: master
Commit: 44c39a85ae3d277030e645427894c7282b510fc4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=44c39a85ae3d277030e645427894c7282b510fc4

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Oct 12 20:40:00 2011 +1100

mscoree: Add WARN when ICorDebugManagedCallback2 cannot be found.

---

 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;
 }




More information about the wine-cvs mailing list