Exception mapping HRESULT

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Display said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top