Windows core programming-Windows Error Code Viewer

Source: Internet
Author: User

1. windows Error Codes

During the test, when a program encounters an error or crashes the blue screen, the system prompts the error code, but there is no text description corresponding to the error code, so these codes will always make you confused. Many testers report the error to the developers directly. In fact, we can do some simple analysis, which may help developers locate problems as soon as possible.

Find out the cause of the error code:

When calling a Windows function, it first checks the validity of each parameter passed to it, and then tries to execute the task. If an invalid parameter is passed or the operation cannot be performed for some reason, the operating system returns a value indicating that the function fails to run to some extent.

2. Error Lookup

Here we will introduce an Error Lookup tool that understands the actual meaning of this Error code. It can obtain the text content corresponding to the error code you entered, making it easier for you to analyze the cause of errors in the debugging program.

Usage: run the command directly and enter the corresponding error code. If Error 2 is returned, it indicates that the file to be called by the program cannot be found. At this time, you can guess whether the file is missing or the file is in the wrong directory.


Of course, the error code mentioned here is an error code generated by the windows function. If the programmer re-defines the error code, it is another method to analyze it.

If you do not want to do this, you can also remember some common error codes. you can locate the problem without checking the common error codes.

Common error codes:
0000 the operation has been completed successfully.
0001 error function.
0002 the system cannot find the specified file.
0003 the system cannot find the specified path.
0004 the system cannot open the file.
0005 Access denied.
0006 the handle is invalid.
0007 the storage block is damaged.
0008 the command cannot be executed because the storage zone is insufficient.
0009 the block address of the bucket control is invalid.
0010 environment error.
0011 try to load the program in an incorrect format.
0012 the access code is invalid.
0013 the data is invalid.
0014 the operation cannot be completed because the available storage zone is insufficient.
0015 the system cannot find the specified drive.
0016 the directory cannot be deleted.
0017 the system cannot move files to another disk drive.
0018 no other files.
0019 media write protection.
0020 the system cannot find the specified device.
0021 the device is not ready yet.
0022 the device cannot identify the command.
0023 data errors (cyclic redundancy check ).
0024 program issued a command, but the command length is incorrect.
0025 the drive cannot locate the specified region or track on the disk.
0026 the specified disk or floppy disk cannot be accessed.
The 0027 drive cannot find the requested sector.
0028 printer paper shortage.
0029 the system cannot write data to the specified device.
0030 the system cannot read the specified device.
0031 the device connected to the system cannot run properly.
0032 other processes are using this file, so they cannot be accessed now.
0033 another process has locked a part of the file, so it cannot be accessed now.
The floppy disk in drive 0034 is incorrect. Please insert % 2 (volume serial number: % 3) into drive % 1.
0036 too many shared files are opened.
0038 reached the end of the file.
0039 the disk is full.
0050 this network request is not supported.
0051 remote computers cannot be used.
0052 duplicate names exist in the network.
0053 the network path cannot be found.
0054 the network is busy.
0055 the specified network resource or device is unavailable.
0056 has reached the limit of network commands.
0057 network adapter error.
0058 the specified server cannot perform the requested operation.
0059 unexpected network error.
0060 the remote adapter is not compatible.
0061 the printer queue is full.
0062 there is no storage space for files waiting for printing on the server.
0063 files waiting for printing have been deleted.
0064 the specified network name cannot be used.
0065 access to the network is denied.
0066 the network resource type is incorrect.
0067 the network name cannot be found.
0068 has exceeded the name limit of the local computer network adapter card.
0069 has exceeded the network BIOS session limit.
0070 the remote server has been suspended or is being started.
0071 as the number of connections to the computer has reached the upper limit, you cannot connect to the remote computer.
0072 the specified printer or disk device has been suspended.
0080 this file exists.
0082 the directory or file cannot be created.
0083 INT 24 failed.
0084 the bucket that processes the request is unavailable.
0085 the local device name is being used.
0086 the specified network password is incorrect.
0087 parameter error.
0088 a write error occurs on the network.

03.03.2009 by vivilisa

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.