burner app can't find right drive

This is a discussion on burner app can't find right drive within the C++ Programming forums, part of the General Programming Boards category; I'm using 'mkisofs' and 'dv+rw-tools' to burn DVD files and I want it to automatically find the right drive (where ...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    2

    Question burner app can't find right drive

    I'm using 'mkisofs' and 'dv+rw-tools' to burn DVD files and I want it to automatically find the right drive (where my burner hardware is)

    any ideas

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Linux???? You might get a better answer on the Linux-specific board. Standard ANSI/ISO C++ doesn't know anything about CD burners, so you are in the realm of platform-specific programming.

    With Windows, the operating system enumerates the hardware devices. Windows is aware of each device's capabilities via the driver/firmware. You can obtain a handle to the device an query it.

    You could query each drive to find out if it's a hard drive, floppy drive, CD ROM, CD Burner, etc.


    Windows has functions such as:
    GetDevice()
    GetDeviceID()
    GetDeviceCaps()
    Last edited by DougDbug; 01-08-2007 at 03:42 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which hard drive to buy ? UATA or SATA
    By gemini_shooter in forum Tech Board
    Replies: 10
    Last Post: 08-24-2005, 08:16 PM
  2. is this old hard drive any good?
    By Pyroteh in forum Tech Board
    Replies: 11
    Last Post: 07-16-2005, 08:34 PM
  3. Find Dialog
    By Lithorien in forum Windows Programming
    Replies: 6
    Last Post: 04-25-2005, 05:28 PM
  4. pasword app
    By GanglyLamb in forum C Programming
    Replies: 2
    Last Post: 06-07-2003, 10:28 AM
  5. CD burner fried?
    By CodeMonkey in forum Tech Board
    Replies: 13
    Last Post: 04-16-2003, 07:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21