By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

Exception mapping HRESULT

P: n/a
Exception class has HRESULT as protected member. Is there a header file or tool to get the entire mapping of C# Exception to HRESULT? Any tools / header file / links appreciated
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Display Name wrote:

Exception class has HRESULT as protected member. Is there a header file or tool to get the entire mapping of C# Exception to HRESULT? Any tools / header file / links appreciated.


If you are looking for what the hresult number resolves to, there is (was) a
tool that shipped w/ VS called ErrorLookup that would translate the numeric
result into something a little more meaningful.

Also, you can (could) view the value in the watch window and append ,hr and it
would also perform the translation. Something like:

ex.hresult,hr
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.