Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Codes when using the API to Map Drives
Message
From
02/10/1998 09:03:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00142147
Message ID:
00143190
Views:
31
>Thanks for the response. I will try to utilize the suggesstion first thing in the morning.
>
>After more research, I've determined that the only machines that are giving me the return code of 21 are SGI systems, not PC's, which are part of the NFS network grouping. (Please excuse my obvious lack of network savy!)
>
>The part that is really giving me fits is that this only occurs periodically, and not always the same machine. I am racing through the mapping and unmapping rather quickly, so I think if I add some type of delay between mappings it may take care of the problem. (After I clear the modal dialog box and retry the mapping on the machine that generated the 21, it connects just fine.) This is why I really want to be able to eliminate the dialog box during the application life.

I'd suggest (once you remove the dialog box) that you could build an array of unsuccesfull logins and retry them at the end, until success on all drives or 20 passes. Examining the other drives should give you the pause.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform