Forum > Beginners

Stopping external programs

(1/2) > >>

goldfish999:
I need to start Windows Media Player to play a MP3 from a Laz program. That is working using ShellexecuteW but I want to be able to stop Media Player sometimes before it has completed the MP3. I have failed to find a method to do this.

Leledumbo:
No idea with Windows function. Using TProcess, you can simply Terminate it.

marcov:
There is unit mmsystem. It is about playing, but I don't know if it instruments the whole of mediaplayer or only the codec part.

BigChimp:
Feel free to add that to the list in
http://wiki.lazarus.freepascal.org/Multimedia_Programming
which incidentally lists audio libraries

marcov:

--- Quote from: BigChimp on October 24, 2014, 10:12:21 am ---Feel free to add that to the list in
http://wiki.lazarus.freepascal.org/Multimedia_Programming
which incidentally lists audio libraries

--- End quote ---

It's there?

http://wiki.lazarus.freepascal.org/Multimedia_Programming#Windows_only:_using_the_Windows_API

Navigation

[0] Message Index

[#] Next page

Go to full version