Unmanaged exceptions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maxim

    Unmanaged exceptions

    Hello everyone!

    I'm using C++/CLI in VS2005 SP1. Is it possible to get the type name of the
    unmanaged exception thown somewhere inside the managed try-catch clause.

    try
    {
    ............... ............... ...
    throw UnmanagedType() ;
    ............... ............... ...
    }
    catch(Exception ^ ex)
    {
    IWantTheTypeNam eOfTheexception Here();
    }

    Thanks.


Working...