Archived

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

Function to open CD-ROM drive ?

This topic is 5236 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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