felix
07-21-2006, 05:47 AM
Hi,
I opened a question sometime ago asking how to obtain detailed information about a media in the CD-ROM drive, but no reply (probabilitty because I went see it in Java and you all in general hardcoded C gurus :).
The thread is here http://www.developerweb.net/forum/showthread.php?t=4502
and the questions are:
I need a source code example (commented should be good :) that show how to extract metric information from a CD in a CDROM drive.
Information I want to extract:
- CD media size (the most precise possible, 1byte or 1 nible of precision make difference for me).
- CD space used (need to be precise too).
- Number of tracks and layout of disc.
- Size and information of header CD track.
ps: Preferable if work in in Windows and Linux, if not possible just Linux already is good. :)
Someone know how to do it?
Thank you all
Regards,
I opened a question sometime ago asking how to obtain detailed information about a media in the CD-ROM drive, but no reply (probabilitty because I went see it in Java and you all in general hardcoded C gurus :).
The thread is here http://www.developerweb.net/forum/showthread.php?t=4502
and the questions are:
I need a source code example (commented should be good :) that show how to extract metric information from a CD in a CDROM drive.
Information I want to extract:
- CD media size (the most precise possible, 1byte or 1 nible of precision make difference for me).
- CD space used (need to be precise too).
- Number of tracks and layout of disc.
- Size and information of header CD track.
ps: Preferable if work in in Windows and Linux, if not possible just Linux already is good. :)
Someone know how to do it?
Thank you all
Regards,