Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very Large FIle FREAD
Message
From
06/01/1999 08:37:30
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00169987
Message ID:
00173092
Views:
27
Thanks.

How can I learn more about the FoxAPI? Where is it documented?

Bob

>>Has anyone done an FOPEN and FEOF on a file that is larger than 2.1 GB? I seem to be able to do the FOPEN, but the FEOF returns .T.
>>
>>Regards, Bob
>
>Robert,
>
>A quick glance at the FoxAPI indicates that Foxpro passes a long variable type for positioning with _fseek. _fseek is also used for determining EOF. This would mean that the max file size that Foxpro's low level file functions fseek and feof can handle is 2,147,483,647 bytes.
>
>I did not dig into the fread/fwrite functions so I don't know if simple sequential reads/writes past 2 Gig would work or not. You could test it, if it does and you do not need positioning then you could use an API call to get the file size.
>
>Regards,
>Mike
Database Development Team
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform