Issues with winsvc.ew library
- Posted by cp Sep 26, 2013
- 1358 views
I need to deploy my euphoria program as a windows service and I'm trying to make use of the winsvc.ew library by M. Sabal.
I'm testing the sample program provided.. winsvctest.exw Per the instructions I bindw the program then install the service via sc create ... I then start the service via sc start... I let it run a few minutes and then stop it via sc stop... It does create the two files, debug and log in the root dir. The log file contains a single entry "Hi!" however the debug file is empty. Based on the code in winsvctest.exw there should be multiple entries in the debug file such as "Service Started", "Debug Started", "Done Flag =" and "Service Stopped". Environment is Win 7 Home Prem, 64bit. Eu 3.1.1
Can anyone help me turn a Euphoria program into a windows service? Thanks