Hello pack,
pIs "catch" in C# going to catch all exception, or it just catch the
pexceptions induced by "throw"?
What's the "all exeptions"?
Catch handles all managed exception
pWill it also catch those "structured
pexceptions" that could be either from system modules or other DLL or
pCOM objects of native code?
Yep, but CLR is responsible for pick them up and wrapping into managed exception
pIf seeing a dialog of this:
p"Unhandled exception at 0x8f345690 in vsdv.exe: 0xC0000005. Access
pviolation reading location 0x02313000."
pCan we assume that this is a "structured exception" if all the
pmanaged code has try/catch in place?
Not sure about this.
As I said before SEH is wrapper by CLR and u can end up with error throw
where u not expect it.
For this case u need provide handling of unhandled expection with appdomain.CurrentDomain.UnhandledException
I recommed to read this
http://blogs.gotdotnet.com/cbrumme/a.../01/51524.aspx
where detailed unmanaged and managed exception handling is explained
---
WBR,
Michael Nemtsev [C# MVP] :: blog:
http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche