How do I detect with C# on Windows the moment when an external application is being launched?
I tried the FilesystemWatcher which doesn't work because the file is not really changing. Also having a timer constantly check all the open processes might be a bit over kill. Is there any other way to do this? If not in C# is it possible to do so in C++ (if so please give me an example).
The reason I want to do this is for logging purposes.