J
Jon Paugh
Hi,
How do you catch an exception from unmanaged code?
Will
try
{
// unmanaged code
}
catch (Exception e)
{
}
do?
Or do I need:
try
{
}
catch (Exception e)
{
// for managed exceptions
}
catch
{
// for unmanaged exceptions
}
Which exceptions will go to the first catch block and
which will go to the second?
Jon Paugh
How do you catch an exception from unmanaged code?
Will
try
{
// unmanaged code
}
catch (Exception e)
{
}
do?
Or do I need:
try
{
}
catch (Exception e)
{
// for managed exceptions
}
catch
{
// for unmanaged exceptions
}
Which exceptions will go to the first catch block and
which will go to the second?
Jon Paugh