Use test_environment().
authorIain Patterson <me@iain.cx>
Tue, 26 Nov 2013 17:23:11 +0000 (17:23 +0000)
committerIain Patterson <me@iain.cx>
Tue, 26 Nov 2013 20:38:08 +0000 (20:38 +0000)
commitf113d025a47ea5a3dd0cb962b5913045ac811b71
tree32e2d5ca10f9ae2fdac0015b06d7154e24271175
parent135329c0790e6d33f658727be3e5439a167a7da8
Use test_environment().

Use the new test_environment() function when validating the environment
in the GUI and when launching the monitored application fails with
ERROR_INVALID_PARAMETER.  In the latter case we  set service-specific
error code 4 to help identify the reason for the failure.
gui.cpp
service.cpp