【发布时间】:2017-02-22 09:18:00
【问题描述】:
我在 Windows 窗体应用程序上使用 C# 在 VS 2008 上使用 Windows CE 进行编码。当我尝试通过串行连接将参数发送到电子设备时,突然在我的 windows CE 设备上出现一个奇怪的弹出窗口:
异常代码:0x80000002 地址代码:0x40caff30 模块导致 错误:mscoree3_5.dll 偏移量:0x0004ff30 在 ArrayList.GetEnumerator() 在 Application2.RunMessageLoop(Boolean showform) 在 Application2.Run(Form mainForm, Boolean Application2.Run(Form) 中的 runAsSingletonApp, Boolean displayMainForm) mainForm) 中的 Program.Main()
每次打开表单或通过串口发送数据时,它都会随机出现。
【问题讨论】:
-
更新:调试时出现相同的弹出窗口,异常代码相同,异常地址为 0x40caf520,偏移量:0x0004f520。在 ModbusTrabsport.ReadResponse[T]() 中的 ModbusRtuTransport.Read(Int32 计数)
标签: c# exception embedded .net-3.5 windows-ce