A quick question:
Why doesn't the following code catch the Access violation reading location exception?
it crashes on line if ( xyz ) with an Access violation reading location exception. Is not catch supposed to catch it? Practically, it doesnt.
[code=cpp]
try
{
if ( xyz ) // crashes here
{
abc = xyz->ID;
}
}
catch (...)
{
//exception
}
[/code]
Any suggestion on how to get it caught?
Thanks!
Why doesn't the following code catch the Access violation reading location exception?
it crashes on line if ( xyz ) with an Access violation reading location exception. Is not catch supposed to catch it? Practically, it doesnt.
[code=cpp]
try
{
if ( xyz ) // crashes here
{
abc = xyz->ID;
}
}
catch (...)
{
//exception
}
[/code]
Any suggestion on how to get it caught?
Thanks!
Comment