Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10356
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Terminating an application which runs in the background |
| Date | 2017-03-28 09:54 +0200 |
| Message-ID | <ejuj63Fl123U1@mid.individual.net> (permalink) |
| References | (2 earlier) <f0134433-5172-428c-961b-2f119105a185@googlegroups.com> <ejhgf5F2ku3U1@mid.individual.net> <5a9a7f2c-3cf1-460a-aa98-7d1715b056bd@googlegroups.com> <ejjvlmFhsc4U1@mid.individual.net> <7d5647d5-00c2-4061-b082-5a6b1364bace@googlegroups.com> |
Hi Stefan, > > of course this is possible - and I do it all the time. Just install > > your own error handler and it will be called when an error occurs. > > In this error handler, depending on the situation, you could > > terminate the child process. > > But then you must overwrite the DefError function, loosing its > handling, right? yes. But you have two possibilities: - copy the DefError code to your own error handler and enhance it. - keep a copy of the DefError handler somewhere and chain it > At all, the DefError function does not stand for object oriented > programming. The handling of DefError should be in a class, from > which a developer could derive its own class. please don't forget that the DefError concept is more than 20 years old, and was taken over from Clipper. But if you like, of course you can rewrite the complete error system of Visual Objects - instead of a codeblock you can also use an object with an Eval() method (unfortunately this fact is not widely known, but permits also detached locals as part of this object). Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-23 00:17 -0700
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-23 08:51 +0100
Re: Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-23 01:10 -0700
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-23 09:48 +0100
Re: Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-23 02:30 -0700
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-24 08:20 +0100
Re: Terminating an application which runs in the background Karl Wochele <kw@ecos-system.invalid> - 2017-03-24 09:02 +0100
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-24 09:17 +0100
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-24 09:24 +0100
Re: Terminating an application which runs in the background Karl Wochele <kw@ecos-system.invalid> - 2017-03-24 10:05 +0100
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-24 10:29 +0100
Re: Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-28 00:10 -0700
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-28 09:54 +0200
Re: Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-28 04:09 -0700
Re: Terminating an application which runs in the background "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-28 14:28 +0200
Re: Terminating an application which runs in the background Guy Deprez <dpzguy@skynet.be> - 2017-03-23 09:20 +0100
Re: Terminating an application which runs in the background Karl Wochele <kw@ecos-system.invalid> - 2017-03-23 11:20 +0100
Re: Terminating an application which runs in the background Stefan Überbacher <info@sanosoft.com> - 2017-03-23 03:54 -0700
csiph-web