Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining Cluster Size Reliably
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00433935
Message ID:
00434108
Views:
22
>>>Paul,
>>>Does Sys(2022,mydriveletter) help you at all?
>>>
>>
>>Nope, Larry, it won't. It uses GetFreeDiskSpace() as well.
>
>Well it seems this "quirk" in GetDiskFreeSpace is a problem in Windows 95 (possibly 98) only. Tested on my machine running NT Server, I had no problem getting accurate results from my two partitions (one greater than 2 GB and one less).
>
>Upgrade! ;-)

Actually, the amount is capped at 2gb in GetDiskFreeSpace(), and that's what throws it off. It may be coincidental that it's right. As I mentioned earlier in this thread, GetDiskFreeSpaceEx() wasn't available until Win95 OSR2.
George

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

Click here to load this message in the networking platform