Whether how to check up there is a disk in CD-Rom

vbimport

#1

Whether how to check up there is a disk in CD-Rom


#2

Do a NeroGetCDInfo (if using straight NeroAPI). If the result is non-NULL, you have got a disc in the device. Be sure to free the pointer with NeroFreeMem.


#3

I am use NeroCom


#4

Call CDInfo on NeroDrive object. In OnDoneCDInfo event examine pCDInfo parameter. If it is Nothing, there is no disc, or else you can get the disc information.