Article View: borland.public.delphi.language.objectpascal
Article #45Stop a dialog in JCL
From: roland.bengtssonsf
Date: Wed, 05 Oct 2005 20:37
Date: Wed, 05 Oct 2005 20:37
23 lines
2102 bytes
2102 bytes
Hi! We are a team on a company in Finland that use JCL in a big Delphi project. A consult have implemented JCL in the project. And we use JCL to dump methodnames and linenumbers to a textfile in case of an exception. The problem is that several persons have worked with the project and it needs to be cleaned up. I have started this work this week by having remove local exceptionhandlers. All exceptions should be directed to the JCL exceptionhandler. Before I start there was another exceptionhandler who's pointer is in application.onexception. I raised one exception for test in the Form.Create method and got 4 lines of logging in the textfile! I then remove the application.onexception pointer and only got one line as I want. Now is JCL alone responsible for catching and logging exceptions. But another problem arise. A dialog (with my exception msg) is showned for every exception. This is not acceptable as it is an server application. Is there some way to turn off this in JCL? How can I trace the source of the dialog? /Roland
Technical Details
Message-ID:
<1128544632.773999.296650@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 109d30,b8469d91ccd60fce,start X-Google-Attributes: gid109d30,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: roland.bengtssonsf@home.se Newsgroups: borland.public.delphi.language.objectpascal Subject: Stop a dialog in JCL Date: 5 Oct 2005 13:37:12 -0700 Organization: http://groups.google.com Lines: 24 Message-ID: <1128544632.773999.296650@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 62.72.236.165 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1128544637 17170 127.0.0.1 (5 Oct 2005 20:37:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 5 Oct 2005 20:37:17 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Opera/8.50 (Windows NT 5.1; U; sv),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=62.72.236.165; posting-account=YQEwYAwAAAAq-MsbAEY9h-5id2pHQE2Z