问题描述
我遇到了一个非常愚蠢的问题.我尝试完全重新安装.NET,但尚未解决问题.通过Google搜索,我什至找不到其他遇到相同问题的人.
I'm suffering a really stupid problem. I've tried completely reinstalling .NET and it hasn't fixed the problem. I can't even find anyone else with the same problem by Googling.
就在我的计算机上,如果我将NumericUpDown控件添加到.NET项目中的表单并运行该应用程序,则在运行该应用程序时会收到以下错误消息:
Just on my computer, if I add a NumericUpDown control to a form in a .NET project and run the application, I get the following error message upon running the application:
其他信息:尝试读取或写入受保护的信息记忆.这通常表明其他内存已损坏.
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
该应用程序可以在其他计算机上正常运行.
The application runs fine on other machines.
有什么建议吗?
推荐答案
问题原来与显卡有关.我们发现一台同事的机器也有同样的问题,这是因为两台机器最近都装有相同的廉价图形卡(Radeon HD5450).两者都在运行最新的驱动程序.
Problem turned out to be graphics card related. We found a colleagues machine with the same issue, it just so happens both machines were recently fitted with the same cheap graphics card (Radeon HD5450). Both were running latest drivers.
没有解释为什么这些卡/驱动程序会导致此问题.但是卸下卡并还原为板载图形可以解决此问题.该计划是尝试使用几个便宜的GEForce 210.
No explanation as to why these cards/drivers caused this problem. but removing the cards and reverting to onboard graphics fixed the issue. The plan is to try a couple of cheap GEForce 210's instead.
我意识到这本身并不是编程问题,但这可能会节省其他人几个小时的屁屁!
I realise this wasn't a programming issue per se, but this might save someone else a few hours of fart arsing around!
这篇关于带有System.Drawing.dll/NumericUpDown的.NET访问冲突异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!