Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desperation - I know I am probably SOL, but please help.
Message
From
18/06/2001 14:44:43
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00520123
Message ID:
00520715
Views:
15
>>I may be wrong on this, but I recall, reading that windows itself has a 2 gig file size limit, so the problem is not so much fox, but a litmit of the os.
>>
>Bob,
>
>To add to what Erik said, the limitation was acutally twofold. First, the older ROM BIOSes had a limitation of 2gb For example, my old P200 which I bought in April of 1997 and was top of the line at the time, had this limitation. When I installed a 13 gb hard drive, the installation included a patch for the BIOS to handle this.
>
>The original release of Win95 had a function (GetDiskFreeSpace()) in the API that capped the return value size at 2gb. Since, however, Win 95 OSR 2, this is not the case, as the function has been superceded by GetDiskFreeSpaceEx(). VFP through 6.0 SP5, however, uses the older function to retrieve the values for DISKSPACE() and SYS(2020), and therefore will not return a value for either greater than 2gb.

VFP6 SP5 on my W2K SP2 box returns correct values for both DISKSPACE() and SYS(2020) at 16.2 and 20GB, respectively.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform