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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only