Delphi IO Errors
Delphi IO Errors
The following are the Windows API (and former DOS) IO errors, which are also the IO
errors often returned by Delphi programs, and which are generally difficult to find
reference for, and are especially difficult to find referenced as Delphi errors.
Some of the high-numbered sections toward the end contain Windows API errors which are
not truely be IO errors, but which may or may not be reported as such in programs.
I/O Error 1:
IO Error 1L
ERROR_INVALID_FUNCTION
MessageText:
Incorrect function.
I/O Error 2:
IO Error 2L
ERROR_FILE_NOT_FOUND
MessageText:
The system cannot find the file specified.
I/O Error 3:
IO Error 3L
ERROR_PATH_NOT_FOUND
MessageText:
The system cannot find the path specified.
I/O Error 4:
IO Error 4L
ERROR_TOO_MANY_OPEN_FILES
MessageText:
The system cannot open the file.
I/O Error :5
IO Error 5L
ERROR_ACCESS_DENIED
MessageText:
Access is denied.
I/O Error 6:
IO Error 6L
ERROR_INVALID_HANDLE
MessageText:
The handle is invalid.
I/O Error 7:
IO Error 7L
ERROR_ARENA_TRASHED
MessageText:
The storage control blocks were destroyed.
I/O Error 8:
IO Error 8L
ERROR_NOT_ENOUGH_MEMORY
MessageText:
Not enough storage is available to process this command.
I/O Error 9:
IO Error 9L
ERROR_INVALID_BLOCK
MessageText:
The storage control block address is invalid.
/
/ /
/ RPC Status Codes /
/ /
/