Re: Useless error messages

[prev] [thread] [next] [lurker] [Date index for 2004/05/03]

From: Daniel Pittman
Subject: Re: Useless error messages
Date: 02:52 on 03 May 2004
On Sun, 02 May 2004, Thomas R. Sibley wrote:
> Juerd wrote on 05/02/04 10:05:
>>     Error Number:       -2147221501 0x80040003
> 
> I wonder how many possibly errors they have in their system for an
> error number that large (or small, considering it's seemingly
> negative). I mean, honestly, a 10 digit error number?
> 
> (Unless the number actually means something other than used as an ID.)
> 
> And what's up with that hex?  Maybe I'm being ignorant, but doing perl
> -e 'print 0x80040003' doesn't reveal the same number as the decimal
> before it.

I hate the fact that the "COM" error reporting standard was painful
enough to work with that I can still remember this much of it.

The highest bits indicate the error "disposition"; 0x8 as the lead value
says that this, like every other error in the universe, is a "fatal,
unrecoverable error".

IIRC, the 0x40003 value - which is the actual error code - is one of the
half dozen "generic, unspecified error" values defined my MicroSoft.


So, this says that some COM function call resulted in an unrecoverable,
undefined error.

Ahh, error "handling".

     Daniel

-- 
The English have the most rigid code of immorality in the world.
        -- Malcom Bradbury, _Eating People is Wrong_
There's stuff above here

Generated at 14:02 on 01 Jul 2004 by mariachi 0.52