Application.AddMessageFilter(this);

开发环境:windows 8(x64), vs2013

只要“项目属性-调试”中选中“启用Visual Studio承载进程“,在VS2013中用F5调试,调用Application.AddMessageFilter(this),就报vshost-clr2.exe已停止工作

把“启用Visual Studio承载进程”取消,就不报错。

原文地址:https://www.cnblogs.com/Sabre/p/3923856.html