Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bytes in a directory
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00088089
Message ID:
00088449
Views:
35
>>>George,
>>>I'm in trouble with sys(2022) or win32api getdiskfreespace. They both return 32768 for my 4.3 Gb drive (you see I make use of your sample APIs). But I have fat32 and cluster size is 4096. Also drvinfo class in files section return wrong info (I think uses getdiskfreespace). If you have any handy solution for it I would like to know.
>>>Cetin
>>
>>You're right, and I don't know why this is. I'll have to investigate, and, if I find anything out I'll post.
>
>George,
>
>GetDiskFreeSpace will not return correct values for volumes over 2 gig (and may return incorrect info from smaller drives). Use the GetDiskFreeSpaceEX instead if you can depending on the OS/version.
>
>Mike

Mike,

Assuming that the parameter list is the same, GetDiskFreeSpaceEx() doesn't seem to do it either. It certainly didn't when I tried it on my drive.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform