CDROM Spinup problems
Posted: Fri Mar 05, 2004 10:26 pm
Windows 2000, writeing a program that will sense if there is a CDROM in a specific drive and then try to read a file from it. For detection i use this code:
When i start the program with the CD in the drive, it works like a charm, i can eject and then insert the CD and it works. BUT if i start without the CD, the drive will not go through the spinup process.
Question:
Is it possible to force a spinup?
Code: Select all
Procedure WaitForCD()
Debug "WaitForInsert"
If CDAudioStatus() = -1
Repeat
CheckQ()
Delay(300)
Until CDAudioStatus() = 0
EndIf
EndProcedure
Question:
Is it possible to force a spinup?