Posted: Sun Apr 22, 2007 10:04 am
http://en.wikipedia.org/wiki/PunAND51 wrote:
http://www.purebasic.com
https://www.purebasic.fr/english/
http://en.wikipedia.org/wiki/PunAND51 wrote:
maybe SetErrorMode_() will help out.ts-soft wrote:>> YOU who recommended me (and others) not to test for floppy disks
Yes, in some situations under win9x it crashes witout a floppy inserted!
Code: Select all
SetErrorMode_(#SEM_FAILCRITICALERRORS)
For Ascii = 'A' To 'Z'
Drive.s = Chr(Ascii)+":"
If GetDriveType_(Drive) = #DRIVE_FIXED
Debug Drive+" is a hard drive"
EndIf
Next
SetErrorMode_(0)