Click to See Complete Forum and Search --> : Problem retrieving drive-name of NTFS-drive under Win2K


AlionSolutions
October 4th, 2002, 05:41 AM
Hi again,
and again a strange problem occured programming Win32API:

I usually use GetVolumeInformation to retrieve the name of a drive installed on a windows-system.

Testing my software under Win2000 I came across a strange problem. All drive-names could be retrieved except of the name of the only partition on the system, which has a NTFS-filesystem. All other partitions have FAT32-format and report their names correctly. for the NTFS-Partition I get a empty string.

Maybe this is again one of microsofts bad jokes. maybe I did something wrong.

my question is: did anybody else stumble over this behaviour. does anyboy know the trick how to retrieve the NTFS-drivename too ?

I would appreciate any help.

thanx in advance

juergen

Andreas Masur
October 4th, 2002, 06:22 AM
I used it a lot and until now I did not have any problems at all - neither on Windows NT nor on 2000 (where I just tested it again)...

I get the name reported properly...

System: Windows 2000 SP2