Application.AddMessageFilter(this);

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

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

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

 

posted @ 2014-08-20 09:48  火军刀  阅读(1050)  评论(1编辑  收藏  举报