CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    CA,USA
    Posts
    22

    MCI CD Audio Load and Eject

    Hi,

    I have an MCI application that reads/catalogs audio CD's using the CDDB Interface.

    There are two things I would like to get it to do that it currently does not;
    1) Recognise that a CD has been loaded into the drive, so that I do not need to have a menu item to add a new CD.
    2) Eject the drive after the information has been cataloged.

    I know that for 2) there are a couple of KB Articles, Q165721 and Q168180, but I would like a simpler, more universal method, if possible.

    Many Thanks in advance for any info.

    Bryan Anslow.



  2. #2
    Join Date
    Aug 2001
    Location
    Minnesota, USA
    Posts
    801

    Re: MCI CD Audio Load and Eject

    I have seen this in the MSDN:

    mciSendString("Set CDAudio Door Open", "", 0, 0);

    But they say it does not work for all devices.

    Chris Richardson


    http://www.geometriccomputing.com
    http://www.imagesensing.com
    http://www.autoscope.com

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