Event processing in Action: Catch executable file events
Tariq Rafique
Greenhorn
Joined: Jul 21, 2010
Posts: 9
posted
0
Hi Opher and peter,
Is there anyway to catch windows executable file start/stop events in java. I am working on a data logging app. I need to catch start and stop event of a window executable and log it. Then monitoring files in a particular folder being updated by executable and learn which file is being updated/deleted/created and log it too.
Guide me with your suggestions.
Knowledge is a treasure and Question is its key
Opher Etzion
author
Greenhorn
Joined: Aug 04, 2010
Posts: 14
posted
0
Hi Tariq.
To be honest, I don't know the answer to your question.
The book is about how event are processed; events can get from many sources, and the way the event is created/observed/instrumented is particular to the specific source, so try to address your question to Windows experts.
I know that the last executed programs are stored in the Windows registry, so there probably is an event for starting programs. I honestly have no idea if there is an event for ending programs.