Hi Ed
i Take a look at {WNetAddConnection3} but i'm sorry i don't really know what i have to do to check if the Server is Up ?
Why it's need UserId and Password ?
Can't Help Me a litte bit ?
Rock
>You can take a look at my NETRESOURCE class in the Files section; there's code there that can iterate and find available network resources. You could also try to use WNetAddConnection3() to attemt to attach the IPC$ resource to the remore server; if that isn't present, you aren't going to be able to use COM to connect to it. THere's sample code for iterating the netowrk resources and implementing WNetAddConnection3() in the class; ypou'll also need CLSHEAP to use it.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement