twincat

Console application not closing

一个人想着一个人 提交于 2019-12-03 05:03:01
I'm developing a console application that is supposed to run under WinCE 6.0 and WinCE 7.0 . I'm using C# , Compact Framework 2.0 for different compatibility reasons. My application is started by an external runtime called TwinCAT (from Beckhoff). Within this application, my teammate used a function block called nt_startProcess (documentation here ) that is in charge of starting my application on demand. My problem - Two different behaviors depending on the OS : When started manually (without TwinCAT) from a cmd line : My application behaves properly on both systems. It means that, the