Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5877
| From | Genstein <genstein@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: List of WindowsError error codes and meanings |
| Date | 2011-05-20 20:47 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <ir6ggo$ouu$1@dont-email.me> (permalink) |
| References | <mailman.1847.1305914213.9059.python-list@python.org> |
On 20/05/2011 18:56, Andrew Berg wrote: > This is probably somewhat off-topic, but where would I find a list of > what each error code in WindowsError means? Assuming it's a Win32 error code, winerror.h from the Platform SDK holds the answer. One version is linked below, it's in theory out of date (2003) but all the best known codes are present. http://msdn.microsoft.com/en-us/library/ms819773.aspx http://msdn.microsoft.com/en-us/library/ms819775.aspx For example, "WindowsError [error 5] Access is denied" matches ERROR_ACCESS_DENIED (5L). HRESULTS may also crop up (e.g. E_FAIL, 0x80040005) which are harder to list exhaustively since subsystems and COM components may roll their own codes of various sorts; but common ones are present in winerror.h. All the best, -eg.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
List of WindowsError error codes and meanings Andrew Berg <bahamutzero8825@gmail.com> - 2011-05-20 12:56 -0500
Re: List of WindowsError error codes and meanings Genstein <genstein@invalid.invalid> - 2011-05-20 20:47 +0100
Re: List of WindowsError error codes and meanings Andrew Berg <bahamutzero8825@gmail.com> - 2011-05-20 16:55 -0500
Re: List of WindowsError error codes and meanings John J Lee <jjl@pobox.com> - 2011-05-21 12:46 +0100
Re: List of WindowsError error codes and meanings Genstein <genstein@invalid.invalid> - 2011-05-21 16:35 +0100
Re: List of WindowsError error codes and meanings John Lee <jjl@pobox.com> - 2011-05-22 17:55 +0000
Re: List of WindowsError error codes and meanings Andrew Berg <bahamutzero8825@gmail.com> - 2011-05-22 09:35 -0500
Re: List of WindowsError error codes and meanings Thomas Heller <theller@ctypes.org> - 2011-05-26 17:02 +0200
Re: List of WindowsError error codes and meanings Andrew Berg <bahamutzero8825@gmail.com> - 2011-05-27 04:22 -0500
csiph-web