1. Issues with winsvc.ew library
- Posted by cp Sep 26, 2013
- 1361 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
2. Re: Issues with winsvc.ew library
- Posted by BRyan Sep 26, 2013
- 1313 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
I do not think Eu 3.1.1 will running in a 64 bit operating system.
3. Re: Issues with winsvc.ew library
- Posted by mattlewis (admin) Sep 26, 2013
- 1269 views
I do not think Eu 3.1.1 will running in a 64 bit operating system.
It will run as a 32-bit process using WoW64 (as it obviously was running for the OP). I don't know enough about windows services or the user's code to say any more, though it might be easier to figure out what's going on if we knew more about it.
Matt
4. Re: Issues with winsvc.ew library
- Posted by mindwalker Sep 27, 2013
- 1256 views
I don't know anything about it.
If I were a betting man, my bet is that the debug can be turned on and off, is being defaulted to off and that the debug file is created at start whether or not debug is turned on.