Archived

This topic is now archived and is closed to further replies.

HolyFish

Function to open CD-ROM drive ?

Recommended Posts

HolyFish    127
Hi all, Does anyone know the function to do this ?? (for example : When you click right on the cd-rom icon in "My Computer" you can choose open cd-rom drive) Can''t seem to find any info on this... thanks !

Share this post


Link to post
Share on other sites
Alimonster    185
You can use the MCI (Media Control Interface) of Windows to do this. There''s an example here in Delphi. Just pay attention to the strings in that array and the functions he''s calling -- it shouldn''t be difficult to get the gist.

Share this post


Link to post
Share on other sites