Solved

File I/O Errors

Posted on 1998-01-13
2
864 Views
Last Modified: 2012-06-21
I am using D3 and the help file on I/O Errors is not very comprehensive. I could only find some of the error codes, for example in the EInOutError topic, there are about 8-10 (eg 2 - file not found, etc) and in the I/O Errors topic, I found some more.

I have encountered other errors in my application, eg I/O Error 32 which I couldn't find the reference for. Can anyone tell me where I can get the full documentation on File IO Errors?

Regards
Keith
0
Comment
Question by:keithcsl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
ronit051397 earned 50 total points
ID: 1356355
This is from Borland Technical Informations:

     Pascal sometimes returns runtime errors that aren't listed
in the manuals. If you ever get an IORESULT code in the range
150-199, just subtract 131 from it and the look in your DOS
reference manual (or in the list presented below) for the
relevant critical errors.
     One error that users see quite often is number 163, which is
a sharing violation. It occurs when two users try to access the
same file at the same time.
     Here's a list of critical errors. The first column has the

error number in decimal format, the second has the number in hex,
and the third provides an explanation of the error:

DEC   HEX EXPLANATION
===============================================
01 -- 01  Invalid function number
02 -- 02  File not found
03 -- 03  Path not found
04 -- 04  Too many open files (no handles left)
05 -- 05  Access denied
06 -- 06  Invalid handle
07 -- 07  Memory control blocks destroyed
08 -- 08  Insufficient memory
09 -- 09  Invalid memory block address

10 -- 0A  Invalid environment
11 -- 0B  Invalid format
12 -- 0C  Invalid access mode (open mode is invalid)
13 -- 0D  Invalid data
14 -- 0E  Reserved
15 -- 0F  Invalid drive specified
16 -- 10  Attempt to remove current directory
17 -- 11  Not same device
18 -- 12  No more files
19 -- 13  Attempt to write on a write-protected diskette
20 -- 14  Unknown unit
21 -- 15  Drive not ready
22 -- 16  Unknown command
23 -- 17  CRC error
24 -- 18  Bad request structure length

25 -- 19  Seek error
26 -- 1A  Unknown media type
27 -- 1B  Sector not found
28 -- 1C  Printer out of paper
29 -- 1D  Write fault
30 -- 1E  Read fault
31 -- 1F  General failure
32 -- 20  Sharing violation
33 -- 21  Lock violation
34 -- 22  Invalid disk change
35 -- 23  FCB unavailable
36 -- 24  Sharing buffer overflow
37 -- 25  Reserved
38 -- 26  Unable to complete file operation (DOS 4.x)
39-49 -- 27-31 Reserved
50 -- 32  Network request not supported
51 -- 33  Remote computer not listening

52 -- 34  Duplicate name on network
53 -- 35  Network name not found
54 -- 36  Network busy
55 -- 37  Network device no longer exists
56 -- 38  NetBIOS command limit exceeded
57 -- 39  Network adapter error
58 -- 3A  Incorrect network response
59 -- 3B  Unexpected network error
60 -- 3C  Incompatible remote adapter
61 -- 3D  Print queue full
62 -- 3E  No space for print file
63 -- 3F  Print file deleted
64 -- 40  Network name deleted
65 -- 41  Access denied
66 -- 42  Network device type incorrect

67 -- 43  Network name not found
68 -- 44  Network name limit exceeded
69 -- 45  NetBIOS session limit exceeded
70 -- 46  Temporarily paused
71 -- 47  Network request not accepted
72 -- 48  Print or disk redirection is paused
73 -- 49-4F Reserved
80 -- 50  File already exists
81 -- 51  Reserved
82 -- 52  Cannot make directory entry
83 -- 53  Fail on INT 24
84 -- 54  Too many redirections
85 -- 55  Duplicate redirection
86 -- 56  Invalid password
87 -- 57  Invalid parameter

88 -- 58  Network device fault
89 -- 59  Function not supported by network (DOS 4.x)
90 -- 5A  Required system component not installed (DOS 4.x)
0
 
LVL 1

Author Comment

by:keithcsl
ID: 1356356
Perfect! Just the document I needed. This will sure make life easier... :)

Thanks ronit

Keith
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month5 days, 3 hours left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question