🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3549

Re: Trapping an Access Violation

#3549
From: Remy Lebeau (TeamB)
Date: Fri, 26 May 2006 17:52
18 lines
1386 bytes
"Denville Longhurst" <Denville@metco.co.uk> wrote in message
news:44772251$1@newsgroups.borland.com...

> Can I trap an access violation in such a way that I can log the detail

Have a look at third-party crash loggers, such as MadExcept
(http://www.madexcept.com).

> I note with interest that the try/catch block around
Application->Initialize();
> etc in the Project Source .cpp doesn't catch such an exception, since the
> application continues to run

Have you tried using the TApplication::OnException event yet?


Gambit
Technical Details
Message-ID: <4477423f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44772251$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7539b7c29665fa1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44772251$1@newsgroups.borland.com>
Subject: Re: Trapping an Access Violation
Date: Fri, 26 May 2006 10:52:16 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4477423f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1148666431 68.69.17.41 (26 May 2006 11:00:31 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail