View Single Post
Old 17th April 2001, 09:04   #10
]mAdMaTt[
Junior Member
 
Join Date: Apr 2001
Posts: 9
Send a message via ICQ to ]mAdMaTt[
Where do you catch Winamp event ?

hi everyone

i'm writing a very simple plugin which has only one purpose for now: sending the name of the song playing to another program.
It's working now with a function like this:

DWORD WINAPI ThreadProc(LPVOID lpParameter) {
char* title;
while (1) {
getSongName(title);
sendSongName(title);
Sleep(1000);
}

return 0;
}

I don't like this solution and I'd prefer the one with Winamp events, but I can't find where do you catch them...

thanks in advance
]mAdMaTt[ is offline   Reply With Quote