I am using mciSendString function to play files. I have to know when song reproduction is finshed, so i can call "NextSong" function.
This is what i use.
mciSendString ("play song.mp3 notify",NULL,0,0);
Can you write me the function that will catch the message (MCI_NOTIFY), when "notify" send it.