Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WNetAddConnection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00403584
Message ID:
00403610
Vues:
16
What are you connecting to? Novell? NT? I modified that API yesterday to include sample code for connecting to Novell. The difference is setting the password to chr(0), and not "".

>I'm using this API call to establish a connection to a server during program execution, but it's not working. I'm using code I found on the UT:
>
>Declare INTEGER WNetAddConnection IN "mpr.dll" ;
> STRING cRemoteName, ;
> STRING cPassword, ;
> STRING cLocalName
>
>cResource = "\\Eddc002\Construction"
>cPassword = ""
>cDriveLetter = "G:"
>
>?WNetAddConnection(cResource, cPassword, cDriveLetter)
>
>An integer is returned, but I have no idea what it means because the MSDN help only lists error messages, not their correpsonding #'s.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform