Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding network connection
Message
De
14/03/1997 15:35:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00024254
Message ID:
00024310
Vues:
39
>>>DECLARE integer netaddconnection IN WIN32API string,string,string
>>>=wnetaddconnection("\\myserver\myshare","","x:")
>>>but I get the error, the entrypoint is not found. What am I missing? Please help!
>>>
>>>TIA,
>>>Jamuna
>>
>>The entry point may not be "present" for empty password. Try it with a correct password.
>>
>>Vlad
>
>I'm not sure I understand. Would you know where I can find more info about these functions?

Well, I never used this function and I don't have any other doc but Win32API Help file. It seems that you're using it correctly. So, if you're sure that your "\\myserver\myshare" exists, it might be a problem with the password you're sending (the second parameter). You can send a real user password and see what happens.

If you're on a Novell netware (the same for other netwares also, probably), the user must have access to the desired path you're passing as 1st parameter. You must also know that WNetAddConnection creates persistent connection, e.g. Windows will save it and it will recreate it automatically every time you boot you're system. Probably you'll have an error if you try to recreate an existing connection.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform