|
-
April 12th, 2004, 03:07 AM
#1
Exception handling
Hi,
I just got an idea about the exception handling. I am currently implementing a program that will use some third party dll, COM object. When these dll generate a error, usually my program will get an unhandled exception and in my exception handling code I can do little but write some debug information and let the program quit.
I think if I can know which thread that caused the exception from the exception address and other information, maybe I can terminate the thread from my exception handling code and resume from the exception.
My question is how do I know which thread caused the exception from the exception related information, such as fault address, context, etc ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|