Recently I built a GUI app that maps a network connection to a drive in Windows. Unfortunately it uses the WNetAddConnection2() call to accomplish this. It's unfortunate because the Windows API sucks when it comes to Mapping remote WebDAV connections. It seems to work OK in Vista, except when trying to enable SSL, and it just doesn't work in XP unless you specify a folder (You can't map it to the root URL. Eg: http://mywebdavserver.tld). Also SSL doesn't work in XP. Basically, I find using WNetAddConnection2() extremely unreliable.
That said, is there any way to Map a network drive with WebDAV WITHOUT using WNetAddConnection2()?
Many thanks in advance, Brad