我已经把窗口页面大部分不相关的控件和代码都删掉了,只剩下combox, textbox and numericupdown三个控件,可是问题还是发生,太奇怪了,太妖怪了,会不会是微软的问题?怎么解决?
而且我的程序是在.net3.5的环境下面运行的--vs2008See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
而且我的程序是在.net3.5的环境下面运行的--vs2008See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
解决方案 »
- ASP.NET有关connectionstring问题
- vs2005控件menu,綁定菜單問題
- 一个sql数据统计的问题!
- C#截取汉字问题
- 在DataSet中,如何对数据进行分类汇总?
- 紧急求救!!!郁闷了两天了.做好的WINFORM,保存关闭.再次打开,里面做好的控件格式化都变小.
- DataGrid中的LinkButton的visible属性如何在程序中如何更改? ?
- xp系统下 C# 项目窗体背景色透明怎么实现
- 请问有人用C#开发过东进D160板卡的语音卡吗?小弟是新手有些地方不明白,请指教.....
- 怎样动态的指定数组的内容!!即不先声明数组的长度!!这样可以声明数组吗~!!
- 送百分,在线等,在线调试 c#实现Google搜索提示效果
- c# socket Tcp相关问题
我找到了一个类事的问题
http://topic.csdn.net/u/20080122/17/f649c13d-ee5f-474b-b913-13895c1c8488.html
或者,新建一个项目,就一个TextBox,看看会不会出错
楼主给的那个错误信息你看得出来是TextBox的问题?高手。