I’m trying to monitor a cdrom drive to detect when certain cds are present. Using the built-in Drive actions, GetType, GetSize, and GetInformation, I can find the drive, get the size and label if a disk is present. By themselves, these actions work whether a disk is in the drive or not, and even if the tray is ejected. When I start adding more complexity to the code, Windows takes over and displays a message stating there is no disk is in the drive.
Is there a better way to monitor the status of a cd drive, so I would only use GetInformation if I know a disk is inserted?
Thanks, craig
Is there a better way to monitor the status of a cd drive, so I would only use GetInformation if I know a disk is inserted?
Thanks, craig
Comment