Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP3.0: DISKSPACE()
Message
De
01/08/1997 22:13:15
 
 
À
01/08/1997 21:55:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00042857
Message ID:
00042860
Vues:
30
This is weird! I think I heard about other problems with DISKSPACE(), but sure not this. The only advise I can give is to use my DriveInfo class (you can download it from the Files section, "Classes-VCX" category). It solves this problem at Win32API level.

Vlad

>Hi I have a strage problem
>I have a program with this lines...
>
>...
>SET DEFAULT TO A:
>discosize = DISKSPACE()
>SET DEFAULT TO C:\ops
>IF discosize < 1440000
>...
>
>when I see some variables in debug windows the result is:
>carloshead 2184
>carlossize 290239
>totaldiscos 1
>numrecs 6153
>I 2
>discosize 1167872.000000000000...0000 (total 35 0)
>
>then the line
>
>IF discosize < 1440000
>
>always is false
>when I evaluate in command window the expresion
>
>discosize = DISKSPACE()
>the result is
>discosize 1167872
>
>someone know why in my program the result is so extrange
>and why the IF always is false
>thanks...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform