I have a application that runs on a server. I would like to create an event procedure that fires when ever a Window Message tells a process (test.exe) to start. Before the Message actually tells the process to start I need my application to check certain things, then if everything is good let the Message through to start the process.
1. Is there a tool that will show me the Window Message that start an application or process? Maybe something by sysinternals?
2. How can I create an Procedure that traps the message that starts the app or process?