I have finally managed to run POPFile as a windows service.
The biggest hurdle was to prevent POPFile from being killed upon logoff.
In order to do this, I have created a SrvAny-like Windows NT Service Hosting application that attempts to protect the controlled application from handling the logoff notification. My solution involves installing a custom console control handler into the target process, whose purpose is to block the CTRL_LOGOFF_EVENT notification from windows.
Now, I would like to know if there is any way I can contribute to the experimental Windows Service ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If blocking that message is all it takes that sounds like you might have already helped. Hopefully that is something that can be done in the Perl code. If you have the ActiveState Perl Developer Kit (not free) you can build new POPFile EXEs from the sources in the CVS repository.
You should post this to the Source Code (Bleeding Edge) forum, this forum doesn't get read much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have finally managed to run POPFile as a windows service.
The biggest hurdle was to prevent POPFile from being killed upon logoff.
In order to do this, I have created a SrvAny-like Windows NT Service Hosting application that attempts to protect the controlled application from handling the logoff notification. My solution involves installing a custom console control handler into the target process, whose purpose is to block the CTRL_LOGOFF_EVENT notification from windows.
Now, I would like to know if there is any way I can contribute to the experimental Windows Service ?
If blocking that message is all it takes that sounds like you might have already helped. Hopefully that is something that can be done in the Perl code. If you have the ActiveState Perl Developer Kit (not free) you can build new POPFile EXEs from the sources in the CVS repository.
You should post this to the Source Code (Bleeding Edge) forum, this forum doesn't get read much.