ulunn
14th April 2006, 09:47
hi all
first, sorry for my english because i speak french ....
i try to get the filename of the song is playing in winamp ... i try to get this in my software (delphi7)
i have read this on sdk but winamp return nothing
const IPC_INFOBOX = 293; WM_WA_IPC = WM_USER;
var a:tinfoboxparam;
...
wmp := FindWindow('Winamp v1.x', nil)
SendMessage(wmp,WM_WA_IPC,WPARAM(@a),IPC_INFOBOX);
showmessage(pchar(a.filename));
thanks for your help
first, sorry for my english because i speak french ....
i try to get the filename of the song is playing in winamp ... i try to get this in my software (delphi7)
i have read this on sdk but winamp return nothing
const IPC_INFOBOX = 293; WM_WA_IPC = WM_USER;
var a:tinfoboxparam;
...
wmp := FindWindow('Winamp v1.x', nil)
SendMessage(wmp,WM_WA_IPC,WPARAM(@a),IPC_INFOBOX);
showmessage(pchar(a.filename));
thanks for your help