Bonjour!
I'm using the code .....
.... to check whether the floppy disk is inserted into the drive. But when a disk is not available, system’s "Insert disk" dialog box also executes with my error message. Is there a way to prevent the system's dialog being displayed?Code:if(FindFirstFile("a:\\*.*", &fd)!=INVALID_HANDLE_VALUE){ .... .... }else{ cout<<"Please insert disk-1"<<endl; }
Merci.