Link to home
Start Free TrialLog in
Avatar of misterstefano
misterstefano

asked on

Add songs at winamp

How can I add a mp3 from a delphi program in the winamp3-list.

I use this code to play the first song:
song:='c:\...anysong...mp3';
ShellExecute(Handle, 'open',PChar(song),nil,nil,SW_SHOWNORMAL);

When I add the next song, it has to take place in the queue of winamp. Now, the first song stops playing and the second begins.
ASKER CERTIFIED SOLUTION
Avatar of MannSoft
MannSoft

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of misterstefano
misterstefano

ASKER

I used the first methode, this works.
For the 2th methode, you have to download a new component for delphi?
No you dont have to download a component for the second method.  It would just be a lot easier than reading their documentation and writing your own implementation.

The docs for Winamp 2 can be found at http://www.winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml