运行.NET CF 3.5应用程序时Windows Mobile 6.5文件系统使Motorola MC55崩溃 [英] Windows Mobile 6.5 file system crash Motorola MC55 when running .NET CF 3.5 application

查看:95
本文介绍了运行.NET CF 3.5应用程序时Windows Mobile 6.5文件系统使Motorola MC55崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Motorola MC55设备上的Windows Mobile 6.5上的.NET CF 3.5应用程序有问题.我们大约有150台设备运行以C#Compact Framework 3.5编写的条形码扫描应用程序.该应用程序用于条形码扫描以及通过WIFI/GPRS与SOAP WebService进行通信.每天大约有10-15台设备损坏(文件系统错误),需要再次刷新.摩托罗拉支持人员声称这是我们应用程序的故障.对我们来说,这不是一个论点.问题的根源是什么?
该应用程序是一个用CF C#3.5编写的简单Windows窗体应用程序,它使用System.XML,System.Net,OpenNETCF和EMDK程序集.它扫描条形码,使用HTTP连接到SOAP WebService,并从外部服务器发送/接收数据.此外,它使用PInvoke API调用同步系统时间.通过使用System.XML程序集读取/写入XML文件来使用文件系统. 任何帮助将不胜感激.

I have issues with .NET CF 3.5 application on Windows Mobile 6.5 on Motorola MC55 device. We have around 150 devices which run a barcode scanning application written in C# Compact Framework 3.5. The application is for barcode scanning and communication with SOAP WebService through WIFI/GPRS. Every day around 10-15 devices go corrupted (file system errors) and need to be flashed again. Motorola support claims it is a fault of our application. For us this is not an argument. What can be source of the problem?
The application is a simple Windows Forms application written in CF C# 3.5 which uses System.XML, System.Net, OpenNETCF and EMDK assemblies. It scan barcodes, connects to a SOAP WebService using HTTP and sends/receives data from external server. Additionally, it synchronizes system time using PInvoke API calls. File system is used by reading/writing XML files using System.XML assemblies. Any help will be appreciated.

致谢

推荐答案

问题可能与时间同步有关.操作系统最多可包含32个进程-时间更改事件最多可启动5个其他进程,例如时钟,卡诺等.如果您接近25个进程,则在发生时间更改事件时会有26个进程,则设备/应用程序可以锁定为操作系统尝试关闭进程.

The issue is probably related to the time sync. The OS has a maximum limit of 32 processes - a time change event kicks off up to 5 additional processes, clocknot, calnot etc. If you're up near 25, 26 processes when the time change event occurs the device/app can lock as the OS tries to close processes.

标准的用户响应是丢弃电池,如果这种情况发生在写操作完成之前-嘿,请记住-设备已损坏.

The standard user response is to dump the battery and if this happens before a write is complete - hey presto - the device is corrupt.

这篇关于运行.NET CF 3.5应用程序时Windows Mobile 6.5文件系统使Motorola MC55崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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