I'm able to run suscessfully CreateFile windows function if I try to open a local drive
hVolume = CreateFile(
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
but I can not do it (I get error) if I try to do the same with a mapped unit (net use z: \\xxxxxxxxxx and after CreateFile for Z:)
Any help ?