Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug
Message
From
16/12/2003 18:08:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Bug
Miscellaneous
Thread ID:
00859702
Message ID:
00859715
Views:
13
You could use Win32 API functions like CreateFile() etc. and wrap them into a class. These functions do not have the 2 GB problem and they are better behaved than Fox' low-level file functions anyway.

The classy approach also has the advantage that you can switch implementations from Fox LLFF to Win32 API file functions or memory-mapped files or whatever simply by instantiating different classes/implementations, without having to change any of the user code. Class methods and API calls do have a noticable call overhead compared to LLFF, though.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform