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
 
Back
Top