Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FSO OLE Error Code
Message
De
17/12/2001 15:32:51
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
17/12/2001 15:26:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00595266
Message ID:
00595334
Vues:
33
>>>Doesn't work correctly on my D drive. It returns 2147155968 for all properties.
>>
>>Does this drive have any files? AvailableSpace and FreeSpace are supposed to be the same, but not TotalSize.
>
>No, it's running Win9x, and cast the return value as an Integer; the value returned is the largest available integer in a VFP integer value (2^31-1). It's a problem related to how Win9x interprets the data type; NT and NT derivatives will use a real rather than an integer, and will return the correct size. I thought this was corrected in WSH 2.1 or 5.

Is there an easy (or programmatic) way to tell which version of the WSH we have installed?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform