Hi Antonio
wNetGetConnection( z: ) returns the correct UNC path for the specified drive but the returned value (which is correct) has a whole lot of garbage chrs appended to it, which I have to remove by finding the first Chr(0) in the returned value and substringing to the chr before that.
Using xHb and fWh version from +- Oct 2006
Regds
Peter