I think we've discussed that some time ago... (actually, about a year ago in this thread
DDE is just a way of communicating between programs, so you'll need a program to send the messages to XMPlay. Tsorovan posted a fixed version of DDE_run here
, a program that is operated from the commandline to send DDE commands to any other program.
-s Specify service name
-t Specify topic
-n Specify the name of program to run if connection fails
-c Specify command to execute on server. Up to 10 allowed.
In this case, the service is XMPlay, the topic is System, the program is your xmplay.exe (with full path) and the command is the command you want to issue to XMPlay.
DDE_run -s XMPlay -t System -n "c:\program files\xmplay\xmplay.exe" -c key80
This will send key80 to XMPlay (play/pause), or launch xmplay.exe if it's can't find a running XMPlay. You can add files to XMPlays playlist by using the command [list(%file%)], or open files with [open(%file%)] and replace the current playlist, where %file% is the full filepath and filename. You can send one file at a time.
Note that DDE is an outdated system (it was introduced in Windows 2.0 in 1987), so I'm not sure how long it'll stay around.