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