Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disk in drive a:\?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00650854
Message ID:
00652091
Views:
25
>You can try this:
>
>
>FUNCTION DriveReady

I wouldn't make assumptions regarding the state of Windows error handling. You'd be better off using the following to set and restore:
#define SEM_FAILCRITICALERRORS      0x0001
lnprevmode = SetErrorMode(SEM_FAILCRITICALERRORS)
*
* Code here
* 
= SetErrorMode(lnprevmode)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform