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
Title:
Return Codes when using the API to Map Drives
Miscellaneous
Thread ID:
00142147
Message ID:
00142147
Views:
62
George,

You've been extremely helpful on several questions I've had using the API. I have a couple of final issues that are eating my lunch that I'd like to ask you about.

You posted several return codes for when mapping a network drive using the API (WNetAddConnection, etc). However I recently started receiving two codes that weren't listed: 1326 and 21

Any ideas? ALso, is there a way to disable Windows from displaying dialog boxes? One is popping up each time I encounter the return code of 21. I am "retrying" the connection and have always been able to map on the second attempt, but a user must click the OK button of the Windows dialog box first. (Says something about default UID and GID)

Any help at all is appreciated...
Next
Reply
Map
View

Click here to load this message in the networking platform