Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jul : How to detect whether the CD drive has a blank CD or is empty?

www.cryer.info
Managed Newsgroup Archive

How to detect whether the CD drive has a blank CD or is empty?

Subject:How to detect whether the CD drive has a blank CD or is empty?
Posted by:"Marcio Ehrlich" (..@no.com.br)
Date:Sat, 7 Jul 2007 03:05:30

Every routine I've tried was not able to distinguish whether my CD drive was
empty or had a blank CD.
Tried to FindFirst a file, tried to GetVolumeInformation and to
GetDiskFreeSpace.
All of them gave me the same results.
What am I doing wrong?
Thanks
Marcio

Replies:

www.cryer.info
Managed Newsgroup Archive