[fpc-pascal] CDROM handling question

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Nov 21 13:50:03 CET 2006

On Tue, 21 Nov 2006, Pianoman wrote:

> Hello, I 'd like to ask how can I detect whether a CDROM drive is ejected. I
> have program which reads some data from CD after reading this data I eject the
> cd using some calls and user can replace the disk. How can I automatically
> close CD drive let's say after pressing enter?

That highly depends on the platform. What OS do you use ?


More information about the fpc-pascal mailing list