I've done quite a lot of research over the past few days, and I'm still a bit puzzled on how to go about this.
I've had a lot of practice Sending messages... but it's rather difficult for me to get them.
I'm making a program that interfaces with Winamp (it's not a winamp plugin). I can send messages easily to winamp, but the main problems I'm having are...
1) Receiving messages from Winamp
The logic behind this mainly.. like when to know when the Winamp song changes
2) Where to put such a loop that it will continue every few seconds.
To check up on certain things, like the current song playing, and react accordingly...
Any ideas?