I need to be able to detect when a certain .wav file is played. It is always the same file and it is always the same program that triggers it. I need to detect WHEN it is played in order to know when it´s my turn to act. It´s a game-based thing. I suppose listening to WM_ or creating some kind of shared memoryspace would do the trick but I don´t know how to do that.
A simple module with required api-declarations and a method to point out either the soundfile or application is sufficient.