Article View: borland.public.delphi.language.objectpascal
Article #134Application Errors
From: Luke
Date: Tue, 17 Feb 2004 06:14
Date: Tue, 17 Feb 2004 06:14
22 lines
1277 bytes
1277 bytes
Hi, I am a newbie to Delphi, is there a way to trap all errors generated within an application. I have used the following but this only works within a form: procedure TMainForm.AppException(Sender: TObject; E: Exception); begin Application.ShowException(E); xmlerror := E.Message ; XMLwritedata; end; Or can I find out if an error has been generated within all associated units as I need to write this to a file. Thanks in Advance Luke
Technical Details
Message-ID:
<4986e816.0402162214.741fcde3@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,f6157de330c7c6fd,start X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2004-02-16 22:14:36 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: lukeharpin@hotmail.com (Luke) Newsgroups: borland.public.delphi.language.objectpascal Subject: Application Errors Date: 16 Feb 2004 22:14:36 -0800 Organization: http://groups.google.com Lines: 22 Message-ID: <4986e816.0402162214.741fcde3@posting.google.com> NNTP-Posting-Host: 144.137.160.44 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1076998476 22470 127.0.0.1 (17 Feb 2004 06:14:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Feb 2004 06:14:36 +0000 (UTC)