Compiled: Delphi 7
The common way to control mixer devices and therefore open/close cd_rom drives is using mcisendstring.
This example uses a different method to control the mixer devices.
This source code method could be extended to recording and playing sounds throught the sound card.
Delphi Basics - Free Delphi Source Code - Ultimate Programming Resource > Delphi Basics Project Releases >