CE 6.0 / .NET CF 3.5 Application has encountered a serious error (MC3100)

后端 未结 8 1230
别那么骄傲
别那么骄傲 2021-02-09 06:45

When exiting my .NET CF 3.5 application on the Motorola MC3100 (CE 6.0 version only) I get the error message \"Application xxx has encountered a serious error and needs to shut

8条回答
  •  无人及你
    2021-02-09 07:22

    I had the same problem on a Motorola 9190-G using the .NET Compact Framework 3.5. At times I would have to warm boot the device because it would freeze after closing my application.

    I was able to workaround the issue by specifying the font of the form the ListView was contained in in the Constructor to be Arial, 10pt, Regular. I then programmatically set the font to my desired font. For example, myListView.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);.

    If I had the font set to any other font/font style/size combination, I would receive the "program encountered a serious problem and must shutdown" error message when closing the application on the mobile device.

提交回复
热议问题