Exceptions created too early or too late are not captured by the dratted system. I
have found the following structure now captures all the exceptions in my apps. It
may help your cause.
DPR file
begin
Application.Title := 'VetLink-sql';
Application.CreateForm(Tfrm_App_Main, frm_App_Main);
try
frm_App_Main.Show;
except
on E :Exception
do begin
CFL_Exception (Application,E);
Application.Terminate;
end;
end;
try
Application.Run;
except
on E :Exception
do CFL_Exception (Application,E);
end;
end.
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Send reply to: [EMAIL PROTECTED]
From: "Donovan J. Edye" <[EMAIL PROTECTED]>
Subject: RE: [DUG]: Debug
Date sent: Wed, 19 Nov 2003 09:15:15 +1100
> A,
>
> You may also want to check out http://www.madshi.net/ (madExcept) an
> excellent aid to debugging and exception handling.
>
> -- D
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Alistair George
> Sent: Wednesday, 12 November 2003 11:26
> To: Multiple recipients of list delphi
> Subject: [DUG]: Debug
>
> When I close my app it comes up with the following:
> 'External exception C0000008'
> Then:
> 'Runtime error 216 at 000031F8'
> I've got debugging turned on, map file etc.
> Read somewhere I can key in the above to find where the error occurred but
> cant
> recall where it was.
> Would it be possible the the IDE does not display the offending line because
> it
> is in a Library component that does not have source?
> Anyone help?
> Thanks,
> Alistair+
>
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/