Hello ytjPerl,
I am not running on WindowsOS so I can not really help, but try the sample of code from this similar question Simple WIN32 Service Test.
Hope this helps, BR.
In reply to Re: how to print out windows service status
by thanos1983
in thread how to print out windows service status
by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |