Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unusual Situation
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Unusual Situation
Miscellaneous
Thread ID:
00142146
Message ID:
00142146
Views:
59
I have an app that scans through a table and maps to different network drives by using info in that table, gathers some info from the mapped drive, then disconnects the mapped drive. The mapping is done through an API call which is functioning properly (or at least it seems). However, I do occassionally get a return code of 21 and also a dialog box that shows that an error occurred and this dialog box waits for user input. If I click OK on the dialog box, my app then retries the mapping and is successful. This app runs unattended at night and I am needing a way to disable the Windows dialog box that waits for user input. The app is developed in VFP 5 and is running on NT Workstation 4.0. The dialog box shows an error mentioning that a default UID and GID must be used, etc. The confusing part is that this doesn't occur all of the time, or on the same machine each time. At any rate, if I can disable Windows from displaying the dialog box, I can reattempt the mapping and it will work.

On a side note, I am getting a return code of 1326 (from the API mapping call) on some newer machines that I recently added. This happens each time, so I assume it may be a matter of the share name, etc. George Tasker was kind enough to give me a list of common return codes, but 1326 wasn't in the list, so any help would be appreciated!

Thanks, (and George...... HELP!) :-O
Reply
Map
View

Click here to load this message in the networking platform