I apologize for the original posting being as an Anonymous Monk, I did not realize I was not logged into the Monastery. The error output is from the Windows System Event Log: "The FooBar service has reported an invalid current state 0" Event ID 7016. STDERR shows no errors reported, only that the service started: c:\FOO\FooBar.exe started Thu Oct 18 15:00:00 2012. The error shows up every time the system does a callback to FooBar to see if it is running. So my System Event Log fills up rather quickly.
Humbly, Mike O