Would it be difficult to create a CD Player application
No, it is actually very easy to setup a CD player in an
existing application, or even to create brand new
application that works like a CD player. The component
has already been provided and it is called MediaPlayer.
To create a *very* simple CD Player application, try the
File | Close All
File | New Application
Drop a MediaPlayer on the Form
In the Object Inspector's Properties
for the MediaPlayer set the following:
- Device Type = tAutoSelect
- AutoEnable = true
- FileName = Click on ... navigate to
the CDROM and select a track
on the CDROM.
Build the application and run it.
Now, clicking on the buttons in the MediaPlayer
correspond to actions relating to the media file.
Last Modified: 05-JUN-00