CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: CD eject

  1. #1
    Join Date
    Aug 1999
    Posts
    1

    CD eject

    Can anyone tell me the bare minimum I need to do open the CDROM door? Also, how could I make it find the letter of the CDROM (so if someone has there CDROM drive "E" instead if "D" it will still open).

    Thank you vary much!

    ~Drache~


  2. #2
    Join Date
    Aug 1999
    Location
    Dresden / Germany
    Posts
    51

    Re: CD eject

    Try the MCI String interface.
    "open cdaudio" // no matter which drive letter
    "set cdaudio door open" // "closed" too
    "close cdaudio"

    Works only fine with one CDROM in your PC.
    Chris


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured