| Scalabium Software | |
| Knowledge for your independence'. | |
|  Home  Delphi and C++Builder
        tips | 
| #15: How can I open and close the CD-drive's door? | 
| 
 | 
1. If you want to open a CD-drive from your program, you need:
mciSendString('Set cdaudio door open wait', nil, 0, Handle);
2. If you want to close a CD-drive from your program, you need:
mciSendString('Set cdaudio door closed wait', nil, 0, Handle);
 | 
|       | Copyright© 1998-2025, Scalabium
        Software. All rights reserved. |