Windows Mobile 6.5 file system crash Motorola MC55 when running .NET CF 3.5 application

只愿长相守 提交于 2019-12-13 03:22:20

问题


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.

Regards


回答1:


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.



来源:https://stackoverflow.com/questions/7468816/windows-mobile-6-5-file-system-crash-motorola-mc55-when-running-net-cf-3-5-appl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!