ASKER
C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.
TRUSTED BY
Look into the Microsoft macros that are specifically intended for handling HRESULT values (your hex error code is an HRESULT).
http://msdn.microsoft.com/en-us/library/ms691242.aspx
Regarding the original question, use the Win32 WPI FormatMessage to get the system error message.
Kent