Solved

checking if a CDRW is available?

Posted on 2004-08-06
6
259 Views
Last Modified: 2010-04-05

I need to know if there is a CDRW available in current machine for making backups



0
Comment
Question by:faustomen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Expert Comment

by:esoftbg
ID: 11741935
I have a Delphi code that extracts Model number of devices (CDD and HDD)....
Then if Model number contains 'CDRW' or 'CD-RW' decides that this device is a CDRW....
But can not be determined the Root-Directory of the device ('D:\' or 'E:\' or ....)
If you are interested I can provide you the code....

emil
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11744700
Consider using IMAPI... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/imapi_reference.asp
I don't know anything about it but from this MSDN page you might get more usable information.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 11760291
That can be done easier.
You can use DeviceIOControl with IOCTL_CDROM_GET_CONFIGURATION parameter and then extract information from FEATURE_NUMBER record.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 11778544
Just found out there is also a solutions by using WMI calls. That would make you to find RW string in device's name.
See http://www.online-admin.com/twmistorageinfo.html for examples of using WMI and getting CD-ROM's info...
0
 
LVL 26

Accepted Solution

by:
EddieShipman earned 250 total points
ID: 11794354
Download XPBurn and use it's IMAPI translation. It will tell you.

http://www.bayden.com/delphi/cdburner.htm
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question