程序运行提示I/O ERROR 123,查帮助文件未果,有没有遇见过的,请多多指导。

解决方案 »

  1.   

    These come straight from the win32 API help file:100L      ERROR_TOO_MANY_SEMAPHORES
    101L      ERROR_EXCL_SEM_ALREADY_OWNED
    102L      ERROR_SEM_IS_SET103L      ERROR_TOO_MANY_SEM_REQUESTS
    104L      ERROR_INVALID_AT_INTERRUPT_TIME
    105L      ERROR_SEM_OWNER_DIED
    106L      ERROR_SEM_USER_LIMIT
    107L      ERROR_DISK_CHANGE
    108L      ERROR_DRIVE_LOCKED
    109L      ERROR_BROKEN_PIPE
    110L      ERROR_OPEN_FAILED
    111L      ERROR_BUFFER_OVERFLOW
    112L      ERROR_DISK_FULL
    113L      ERROR_NO_MORE_SEARCH_HANDLES
    114L      ERROR_INVALID_TARGET_HANDLE
    117L      ERROR_INVALID_CATEGORY
    118L      ERROR_INVALID_VERIFY_SWITCH
    119L      ERROR_BAD_DRIVER_LEVEL120L      ERROR_CALL_NOT_IMPLEMENTED
    121L      ERROR_SEM_TIMEOUT
    122L      ERROR_INSUFFICIENT_BUFFER
    123L      ERROR_INVALID_NAME
    124L      ERROR_INVALID_LEVEL
    125L      ERROR_NO_VOLUME_LABEL
    126L      ERROR_MOD_NOT_FOUND
    127L      ERROR_PROC_NOT_FOUND
    128L      ERROR_WAIT_NO_CHILDREN
    129L      ERROR_CHILD_NOT_COMPLETE
    130L      ERROR_DIRECT_ACCESS_HANDLE
    131L      ERROR_NEGATIVE_SEEK
    132L      ERROR_SEEK_ON_DEVICE
    133L      ERROR_IS_JOIN_TARGET
    134L      ERROR_IS_JOINED135L      ERROR_IS_SUBSTED
    136L      ERROR_NOT_JOINED
    137L      ERROR_NOT_SUBSTED
    138L      ERROR_JOIN_TO_JOIN
    139L      ERROR_SUBST_TO_SUBST
    140L      ERROR_JOIN_TO_SUBST
    141L      ERROR_SUBST_TO_JOIN
    142L      ERROR_BUSY_DRIVE
    143L      ERROR_SAME_DRIVE
    144L      ERROR_DIR_NOT_ROOT
    145L      ERROR_DIR_NOT_EMPTY
    146L      ERROR_IS_SUBST_PATH
    147L      ERROR_IS_JOIN_PATH
    148L      ERROR_PATH_BUSY
    149L      ERROR_IS_SUBST_TARGET
      

  2.   

    123L      ERROR_INVALID_NAME
    很可能是I/O操作时文件名或目录名不正确。
      

  3.   

    I/O errorsThese errors cause an exception to be thrown if the particular statement was compiled in the {$I+} state. (If the application does not include the Sysutils unit, the exception causes the application to terminate). In the {$I-} state, the program continues to execute, and the error is reported by the IOResult function. Number Name Description100 Disk read error Reported by Read on a typed file if you attempt to read past the end of the file.
    101 Disk write error Reported by CloseFile, Write, WriteIn, or Flush if the disk becomes full.
    102 File not assigned Reported by Reset, Rewrite, Append, Rename, or Eraseif the file variable has not been assigned a name through a call to Assign or AssignFile.
    **103 File not open Reported by CloseFile, Read Write, Seek, Eof, FilePos, FileSize, Flush, BlockRead, or BlockWrite if the file is not open.104 File not open for input Reported by Read, Readln, Eof, Eoln, SeekEof, or SeekEoln on a text file if the file is not open for input.
    105 File not open for output Reported by Write or Writeln on a text file if you do not generate a Console application.
    106 Invalid numeric format Reported by Read or Readln if a numeric value read from a text file does not conform to the proper numeric format.