FIX: GETDIR() on Empty Floppy Drive Causes CrashLast reviewed: October 29, 1997Article ID: Q159473 |
The information in this article applies to:
SYMPTOMSIn Visual FoxPro 5.0, issuing a GETDIR() command on a drive that does not contain a disk results in the following error:
This program has performed an illegal operation and will be shut down. WORKAROUNDUse Foxtools.fll and the ISDISKIN function to check for a disk in the drive prior to issuing the GETDIR() command.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0a.
MORE INFORMATIONTo reproduce the problem, do the following: At the command line enter the following command. Ensure that there is no disk in Drive A:
?GETDIR("A:\") REFERENCESFor more information about using ISDISKIN please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q125372 TITLE : How To Check for a Floppy Disk Using FOXTOOLS Keywords : buglist5.00 FxenvError vfoxwin vfpfix5.0a kbenv kbbuglist kbfixlist Version : 5.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |