Click to See Complete Forum and Search --> : WNetCancelConnection


Adam R. McCann
November 19th, 1998, 04:28 PM
I can't get the cancel connection to work. I can WNetAddConnection just fine. I even map two drives as opposed to just one. The problem I have is that I keep getting the 2401(open files or open process) error even though there is not any open files or running processes. This error cause the Cancel procedure to fail. Even though I set the Value of fForce to true, it still won't cancel the connection. I can cancel the drive mapping, but I can't cancel the share which in essence logs the user out of the network. I'm not sure what else I can say about it but I NEED HELP.