>>>>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.
>>>
>>>Ed,
>>>
>>>As I've found out, the same is true under VFP 6.0 SP5. Under Win9x, DISKPACE(), for example, will return values that are capped at 2gb. However, under Win2K Pro, it returns the correct amount.
>>
>>After upgrading to WSH 5.6 Driver object properties return correct values under Win98SE.
>
>Thanks for the info Sergey. Is it out of beta yet? I haven't checked recently.
I think it's released already.
--sb--