I don't understand how this error can occur with FilePos.

 

I'm using the old Delphi I/O routines to read binary file.  A user is
receiving an I/O error 131 at a FilePos(File) function.  This error is
apparently ERROR_NEGATIVE_SEEK.

 

The file is opening successfully with a Reset() function.  FilePos is
suppose to return the current position, not physically seek inside the file.
Anyone have any ideas?

 

Thanks,

Ross.

_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to