Home

Martin <martin-g@mail.ru> wrote in news:1186075859.605530.315250
@i13g2000prf.googlegroups.com:

> Hi.
>
> I need to identify the type of the exception in the universal handler
> (catch (...)) for debugging purposes. Point is that I write a testing
> console application, which must call some functions from a DLL. One of
> these functions throws an exception, and since my small application
> knows nothing about the exception type system of that DLL application,
> the generated exception always caught in 'catch (...)'. I've made some
> small investigations: it turned out (as I could understand...), that
> MSVC recognizes the right handler by the name of the exception type.
> E.g., I've created a DLL, exporting function 'Func', throwing an
> object of type 'A':

[snip]

Two items:
1) DLLs are off-topic in comp.lang.c++ (please ask over in a Microsoft
newsgroup)
2) You cannot determine the type of a thrown exeception object from within
a catch(...) clause.

previous
next

Re: Local Functions...
Re: library to launch program in linux
New Updates
Re: Win32
is vec.reserve(unsigned int) better than vec(unsigned int)?
Akogo
Dzieci Niczyje
Podaruj Zycie
Kidprotect
Niechciane i Zapomniane