Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Information about CD-Rom

Posted on 2003-11-10
4
Medium Priority
?
207 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 1400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

927 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