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

后端 未结 8 1231
别那么骄傲
别那么骄傲 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:32

    I faced exactly the same problem. Tried the following (none solved the issue):

    • Remove all the new Font() statements
    • Use Form.Close() instead of Application.Exit()
    • Move the whole application to .NET CF 3.5
    • Attempt to remove SQLite dependencies

    The only solution that finally worked for our case, (however it is not a "pretty" solution), has been the following command in the MainForm.Closed()

    Process.GetCurrentProcess().Kill()
    

提交回复
热议问题