I think I'm correct in saying that any 0x8xxxxxxx errors are windows errors, and the error numbers will be somewhere in the Win32 api header files. The 0xffffxxxx ones are generally ours.

Anything starting with 0x8 is an HRESULT which is a Windows/COM thing. Facility 7 (i.e. 0x8007) is a Windows API error so you can find out the real error message by taking the bottom four digits, converting them to decimal and looking them up in winerror.h if you have Visual C++ installed.

Anything starting with 0xf is probably one of ours. It may be a Linux error which you can decipher by two's complimenting it, converting to decimal and looking it up in /usr/include/asm/errno.h on a Linux box.

There are a few oddballs which don't fit this pattern.

Of course simple errors like the one described here should be dealt with more elegantly by emplode.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe