Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining Cluster Size Reliably
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00433935
Message ID:
00434108
Vues:
29
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform