I try to create a connection to a network share using WNetAddConnection2, to copy some files it. Sometimes I get an error 1219, which means there is already a connection with a different user name.
I did some tests and it seems that I can reuse this connections, because copying worked anyway. Now the question is: Is it a good idea to reuse the connection? Does it always work?
I know that I can cancel the connection (WNetCancelConnection2) and connect again, but if there is already a connection, there is probably another program using it.