CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2002
    Location
    Hamburg / Germany
    Posts
    280

    Problem retrieving drive-name of NTFS-drive under Win2K

    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

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured