This question is the same as this one, except for C++.
What is the best way to ensure an initial connection has been made to a network drive before using the path in the software ?
Edit:
To expand a little:
Is/Why isn't there a function like InitNetworkDriveConnections()
?