Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: SYS(2020) Returning wrong values
Message
 
 
À
12/06/2003 02:28:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00798993
Message ID:
00799410
Vues:
33
Yups, Free space, documentation changes bug.

>>>>In spanish newsgroups someone remember us an unsolved (and introduced) BUG since VFP7.
>>>>
>>>>My HDD is 40 GB, 500 MBs free.
>>>>
>>>>?VAL(SYS(2020))/(1024*1024*1024)
>>>>
>>>>***************************************
>>>>*   VFP6-SP5  |  VFP7-SP1  |  VFP8    *
>>>>***************************************
>>>>*  37.2678 GB | 0.5415  GB |0.5415 GB *
>>>>*-------------------------------------*
>>>>
>>>>From the Help: "Returns the total size in bytes of the default disk."
>>>>So, we have unexpected values, between versions not documented in help.
>>>
>>>Esparta,
>>>I think it uses GetDiskFreeSpaceEx API and incorrectly casts 64bit value to 32bits.
>>
>>That doesn't look like the problem to me, Cetin -- it's giving the free space correctly on both my machine and Esparta's, rather than giving a misconverted value.

>Free space ? It says it should return default disk size in documentation.
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform