1. Issues with winsvc.ew library

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

new topic     » topic index » view message » categorize

2. Re: Issues with winsvc.ew library

cp said...

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Issues with winsvc.ew library

BRyan said...

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Issues with winsvc.ew library

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu