Seeking to a New Position in a File

The following example moves to the beginning of an open file using the mmioSeek function.

mmioSeek(hFile, 0L, SEEK_SET);

The following example moves to the end of an open file.

mmioSeek(hFile, 0L, SEEK_END);

The following example moves to a position 10 bytes from the end of an open file.

mmioSeek(hFile, -10L, SEEK_END);

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database