Information about CD-Rom

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!
BrunoMSAsked:
Who is Participating?
 
shamstarCommented:
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
 
DaFoxCommented:
Hi Bruno,

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

Markus
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.