Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is Maximum Size String that FRead() Can Return
Message
From
10/09/2004 15:44:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00941187
Message ID:
00941204
Views:
9
>Hi
>
>The VFP9 documentation says that the number of bytes returned can be 65,535 bytes however in testing I have been able to read chunks as big as 16,777,184 bytes so is this really the new and limit and documenation just needs to be updated?
>
>Why is there a limit to FRead() when FileToStr() can return strings greater than 16,777,184?
>
>Simon

Simon,
I remember docs say that in earlier versions too but since fox2x fread can read big strings. However I also vaguely remember fread might cause C...5 error with sizes greater than ? in KB (8192 for fgets).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform