Exception Handling

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

Hi,

I have a VC++ application I have been assigned to modify. The app is getting
exceptions from time to time. The current code uses Try / Catch(...) for
exception handling. When the catch is processed it simply sets the Hresult
to e_fail. I'd like to put in some code that would give me the exact error
that occured. THe app is like this

try
call function
call function
call function
.....

catch(...)
hresult = e_fail
return hresult

I'd like to get details as to what failed in the function and which function

Any thoughts/ideas are most welcomed

Thanks
Rick
 

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