Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Codes when using the API to Map Drives
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00142147
Message ID:
00142602
Views:
32
>>DECLARE INTEGER SetErrorMode IN Win32API;
>> INTEGER fuErrorMode
>>* 1 = SEM_FAILCRITICALERRORS
>>lnoldmode = SetErrorMode(1)
>
>Right here. You set the new mode and the API call returns the old mode.
>
>>* Code here, and when done...
>>= SetErrorMode(lnoldmode)

I think I follow. The same line that is saving off the old setting is also assigning a new setting. Sorry for being dense, but I've been treated the way a baby treats a diaper most all day today and haven't had much recovery time! :-)

Seriously though, thanks a bunch for the clarification. I hope to put this project to pasture now...


Thanks again,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform