| Encapsulation of Windows file-handling routines
that allows work with >2GB files. |
|
Included is support for non-buffered access (FILE_FLAG_NO_BUFFERING)
and buffering for sequentially accessed files. Includes also stream wrapper
class.
Released under the BSD
License.
Articles
Files
Last modifications
5.05a: 2008-03-31
- Optimization: Under some circumstances, lots of unnecessary SetFilePointer calls
were made.
5.05: 2008-02-08
- Delphi 2007 changed the implementation of CreateFmtHelp so that it clears the
Win32 'last error'. Therefore, it was impossible to detect windows error in
detection handler when EGpHugeFile help context was hcHFWindowsError.
To circumvent the problem, all EGpHugeFile help contexts were changed to a
negative value. HcHFWindowsError constant was removed. All Win32 API errors are
passed in the HelpContext unchanged. IOW, if HelpContext > 0, it contains an
Win32 API error code, otherwise it contains one of hcHF constants.
- Added method TGpHugeFile.GetTime and property TGpHugeFile.FileTime.
|