Set Exit code in win mobile C#
-
I have a simple application that need to return value on exit to the his caller process. the calling process use Process p = Process.Start(startInfo); to call the second one. In regular .Net I can us the System.Environment.ExitCode to do it, but in the compact framework its doesn't supported.
-
I have a simple application that need to return value on exit to the his caller process. the calling process use Process p = Process.Start(startInfo); to call the second one. In regular .Net I can us the System.Environment.ExitCode to do it, but in the compact framework its doesn't supported.
Have you tried changing the
Main
method to return anint
?Dave
If this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)