Solved

Information about CD-Rom

Posted on 2003-11-10
4
201 Views
Last Modified: 2010-04-05
Hello!
Well, my problem is the following:
I need to know something about the CD that is in my CD Writer drive:

I need to know if the CD in there is CDR or CDRW (Or just to know if the CD is erasable)
I need to know its Capacity. For example: 700Mb.

How to do this in Delphi?
Thank you!

Ps.: More points about to come for who help me. C ya =P
Ps2.: Please... i need it kinda fast. Thank you so mutch!
0
Comment
Question by:BrunoMS
4 Comments
 
LVL 6

Expert Comment

by:DaFox
ID: 9715667
Hi Bruno,

the only way to get this information is by using SCSI/ASPI programming.
Sorry, don't have any examples...

Markus
0
 
LVL 8

Accepted Solution

by:
shamstar earned 350 total points
ID: 9718326
You can get some similar info using a ready made freeware component.. although it may not be exactly what you want...

Take a look at : http://www.torry.net/cd.htm and scroll down to TCDEvents.

On that same page you can find a number of other bits to help you especially the ASPI library for Delphi.. you might wanna take a look at that and see if you can figure out how to use it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

680 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