Implementing ICorDebugManagedCallback2
Implementing ICorDebugManagedCallback2 isn't too hard, it just takes a lot of boiler-plate code to make ICorDebug happy. So as to make this easier for anyone who would like to implement ICorDebugManagedCallback2, attached is the template code to start from.
Enjoy!
Comments
- Anonymous
January 30, 2012
FYI: Delete the szSearch parameter on the constructor - I missed it in code cull. - Anonymous
January 30, 2012
Additional References:Empty implementation of ICorDebugManagedCallbackblogs.msdn.com/.../empty-icd-callback.aspxA common problem: forgetting to call ICorDebugAppDomain::Attachblogs.msdn.com/.../icordebugappdomain-attach.aspxWhy does ICorDebug::SetManagedHandler() return E_NOINTERFACE?blogs.msdn.com/.../why-does-icordebug-setmanagedhandler-return-e-nointerface.aspxMike Stall's .NET Debugging Blogblogs.msdn.com/.../icordebug