Thread: Eject a cd with C++ code

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned Yuri's Avatar
    Join Date
    Aug 2005
    Location
    Breukelen, The Netherlands
    Posts
    133

    Eject a cd with C++ code

    Hi.
    I want to try to open my cd drive with a C++ code, I searched on this forum and found something but it isn't working (http://cboard.cprogramming.com/showt...ight=eject+cd). I got 3 questions; (please look at that thread) it sais: "insure to include the winmm.lib in the links tab of the project settings".
    1. What is "winmm.lib"?
    2. What does that bold line means, and what do you need to do?
    3. Do you also got to "include" it with "PlaySound()"?

    Now on the end of that thread you see a new code but it isn't working.
    I have a couple of questions on that to:
    1. Do I need to "include the winmm.lib in the links tab of the project settings"?
    2. How do I "include the winmm.lib in the links tab of the project settings"?
    3. Does that code opens a cd drive?
    4. How can I eject a cd with C++ code?
    Thanks for any help.
    Last edited by Yuri; 08-23-2005 at 09:17 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Totally confused on assigment using linked lists
    By Uchihanokonoha in forum C++ Programming
    Replies: 8
    Last Post: 01-05-2008, 04:49 PM
  2. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  3. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  4. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM