不安全代码-VS-2010中的问题 [英] Unsafe Code - Problem in VS-2010

查看:142
本文介绍了不安全代码-VS-2010中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......
我用一些不安全的代码在winforms中开发了一个用户控件(C#).我已经用VS-2008执行了该应用程序,它成功了.当我尝试使用VS-2010执行同一程序时,出现了问题.错误消息是尝试读取或写入受保护的内存.这通常表明其他内存已损坏".

请提供任何解决方案.

Hi....
i had developed one user control (C#) in winforms with some unsafe code. i had executed the application with VS-2008, it was successful. When i am trying to execute the same program with VS-2010, i am having problems. The error message is "Attempted to read or write protected memory. This is often an indication that other memory is corrupt".

Please give any Solution.

推荐答案

检查您的指针:您是否为64位构建了2010版本,为32位构建了2008版本?
Check your pointers: Have you built the 2010 version for 64 bit, and the 2008 version for 32?


memtest86吗? [ ^ ]


这篇关于不安全代码-VS-2010中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆