I have tried to compile with option "-g" (build an executable that does not have a console window) and now it works correctly. The sequence "Click start" > Starting > Running > "Click stop" > Stopping > Stopped works now.
The only issue is that without a console window, I cannot "interactively" install the service (as described above). However I should be able to open a CMD prompt and start the exe with "-install" instruction. This should do the trick.
In reply to Re: Perl exe as a service, stuck on starting
by Garden Dwarf
in thread Perl exe as a service, stuck on starting
by Garden Dwarf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |