Catching AVs on Windows
    Jarrett Billingsley 
    kb3ctd2 at yahoo.com
       
    Sun Apr 13 14:18:41 PDT 2008
    
    
  
"Robert Fraser" <fraserofthenight at gmail.com> wrote in message 
news:fttsdl$2nec$1 at digitalmars.com...
> Hi,
>
> Has anyone had any success trapping access violations on Windows and 
> changing them into D exceptions? I created a function and passed it to 
> SetUnhandledExceptionFilter, but my exception filter never triggered on 
> the access violation.
>
> Thanks,
> Robert
They already are, IIRC.  They might not be converted to Exceptions, though, 
but I know you can catch them with catch(Object). 
    
    
More information about the Digitalmars-d-learn
mailing list