we just came across a peculiar behaviour of the TFileStream.Seek (actually that method is inherited from THandleStream) in Delphi 2007:

You can seek beyond the end of file without an error and after the seek you can even read from the file without an error.

The code does basically just call the Windows API function SetFilePointer and seems to do proper error handling. Can somebody explain what's happening here?