WNetCancelConnection2 failing

A

AdrianDev

Hi,

I have sucessfully added a connection using WNetAddConnection2 to a remote servers $IPC share.

But calling WNetCancelConnection2 using the share name fails error 2250: "The network connection could not be found".

Moreover, when I run "net use" from a command prompt I can still see ithe IPC share that was created is OKAY ??


??

Thanks in advance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top