Send Message/WinAmp - What is the Syntax?

Send Message/WinAmp - What is the Syntax?

Post by Al Dav » Sat, 13 Mar 1999 04:00:00



I'm trying to set up a script using Send Message to play an .mp3 file.
Does anyone know the syntax for WinAmp to play a selected file?

thanks,

Al Davis

 
 
 

1. Help! windows messages sending messages to winamp player

My problem might be a very simple one, but as that I am still new to the
wiles of Delphi programming, I'm having difficulty figuring it out:
I've written a front-end database program that hopefully someday soon will
interact with winamp.
I'm trying to send and post messages between my Delphi program and winamp.
I know Winamp's window is found using

                    hwnd_winamp = FindWindow(Winamp v1.90, Null);

I've converted  that into this code:

procedure TForm1.Button1Click(Sender: TObject);
var
    hwnd_winamp : THandle;

begin
   hwnd_winamp := FindWindow('Winamp v1.x',NiL);
      SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_STARTPLAY);
end;
end.

I know the sendmessage is written correctly to be read by winaamp, but when
I try to run my application:
WM_WA_IPC and IPC_STARTPLAY both come up as undeclared identifier errors.
 what do the need to be identified as? and are nill and null the same
thing.

Thanks in advance


2. Meiko commercial product announcement - massively parallel Oracle

3. I am getting this message when i am tring to export or import anything using

4. Connection String

5. email me ny vbs scripts i am making a huge prog with any features u send

6. SQL Help

7. Winamp audio player (MP3),realaudio player control and store .wav file in database

8. ANNOUNCE: Coral Deductive Database

9. Winamp

10. Why am I not seeing deadlock messages in my Error Log

11. Sending E-Mail messages to a SQL Server

12. Sending messages to application using sockets

13. NT Windows Messaging and network SMTP server (sending email to Lotus Notes server)