Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDiskFreeSpace
Message
 
À
11/11/1997 09:04:49
Alex Zhadanov
Computer Generated Solutions
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00059383
Message ID:
00059496
Vues:
40
>>>Hi all!
>>>May be somebody knows if such API function exist for Windows 3.x platform.
>>>I found this API only for WINDOWS 95.
>>>And i could not find this or similar functions for WINDOWS NT or Windows 3.1
>>>How can i find out FREE SPACE for disk if i work with FOXPRO 2.6.
>>>
>>>THANKS Alex
>>
>>Is DISKSPACE() not available in 2.6?
>NO. By the way I got very strange result when i applied API call GetVersion to
>Windows NT. I got windows version 3.1 i.e I got number 2563 (or hex A03).
>For Windows 95 I got right result hex 5F03.And Foxpro function OS() for
>Windows NT return Dos 5.0 and OS(1) return Windows 3.1. Can you explain why it
>happened ?
>Thank Alex.

Alex,

DISKSPACE() was available as early as version 2.0.

Are you running a version of NT prior to 3.51? You should also be aware that the 16 bit and 32 bit versions of GetVersion return different results under Win95. The sixteen bit version returns, as you mentioned, 5F03 or 3.95, thirty-two versions returns C0000004 or 4.12. OS() under 95 returns always (regardless of the parameters Windows 4.00.

George
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