Erick, >What I'm confused about is the order of the bits. I am getting a hresult >of -2147467259, which is a bit pattern of 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1.
That's the standard error code E_FAIL (0x80004005) defined in Winerror.h. > From the header comments above, it looks like the severity is 10 (warning). Right >Is it written with the most significant bit first? Yes >Also, there are a number of defines for non error conditions, such as > >#define NOT_AN_ERROR ((HRESULT)0x00080000L) > > > >if I am doing a comparision with an hresult, do I need to do anything to >the hresult to be able to OR these definiations and my hresult? Why do you want to OR it? Mattias === Mattias Sj�gren [EMAIL PROTECTED] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
