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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DaFoxCommented:
Hi Bruno,

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

Markus
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.