.net 4中的pInvokeStackImbalance MDA默认是开启的
摘要:
今天把我之前发的一个小工具FreeEverything(基于everything的一个简易磁盘清理工具)升级到了.net framework 4.5,并且去掉了对mvvmlight的依赖。结果在测试运行的时候发现如果用visual studio调试运行,就会触发一个break,显示如下的错误信息。1234A call to PInvoke function 'SampleMethod' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the 阅读全文
posted @ 2013-07-04 18:28 fresky 阅读(610) 评论(0) 推荐(0) 编辑