My process sometimes throws an exception, like dllnotfound after starting. I have a monitoring service responsible for maintaining a consistent state of the process.
how can I track the status of my process using the windows service.
Is there an open source Windows service implementation that supports / tracks the status of a process on Windows.
now it worked
http://weblogs.asp.net/fmarguerie/archive/2004/08/27/how-to-turn-off-disable-the-net-jit-debugging-dialog.aspx
: , , , , , , . , .net JIT, http://weblogs.asp.net/fmarguerie/archive/2004/08/27/how-to-turn-off-disable-the-net-jit-debugging-dialog.aspx
, .NET- .
System.Diagnostics.Process, Process , . GetProcessByName, . #, .
GetProcessByName
WaitForExit - Process. HasExited Exited. , ExitCode, , .
WaitForExit
Process
HasExited
Exited
ExitCode
, , , . . , , . 0xe0434f4e, . , , , . , .
, - , . , .
, , .
Windows, `System.ServiceProcess.ServiceController '.
DllNotFoundException , , , . , . .
, , - . , , . , 0, . , , , . , , . , VB script, .