Re: What to do when disaster strikes but requires user input

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I agree as I indicated that I haven't used it. I simply said that I have
seen it used with a great deal of success where I have seen it used and all
variables are reinitialized, etc.. I'm not advocating it one way or
another - just might be something to check into. Like you, I personally
have never had a need to use it. If programs are written efficient and
fairly bug free then then other unrelated problems such as a need to
reindex, power surges etc most likely won't be fixed by any code including a
return to master. It is possible the apps I have seen that successfully
used it may have been built around it - I never studied the apps enough to
say but just noticed that it worked well even though I never used it.

Mike
..


"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:uN4Itm84JHA.4412@xxxxxxxxxxxxxxxxxxxxxxx
RETURN TO MASTER wasn't that great of an idea when it was introduced, and
its usefulness has diminished with age. It subverts the normal
create/release order for memvars/object, throws everything out of scope
suddenly, may cause dangling object references because an object's normal
lifetime has been subverted, and it leaves any established hotkeys "hot".

If you build an entire application's architecture such that it understands
the sudden flush of RETURN TO MASTER that's one thing. I wouldn't want to
use it after the fact. :-)

Dan

MikeA wrote:
You know - it's always best of course to track and trap all the bugs.
But, I think ON ERROR along with the "good old" RETURN TO MASTER
might be something to check into so that when there are errors it
will hopefully return control back to your program. I normally
haven't needed to use return to master in service programs I've
written but I have seen it in used in other programs with a good
degree of success.
Mike

"Jeff Grippe" <jeff@xxxxxxxxx> wrote in message
news:PvWdnTjBF7fi8rjXnZ2dnUVZ_t2dnZ2d@xxxxxxxxxxxxxxxx
No ActiveX controls.

Usually the C5 index or memo errors are a bit more unrelenting.

The last time the application was restarted was 5/29 and that was
something the watchdog app was able to deal with. I don't have good
data about the last restart that the watchdog couldn't deal with.

Now that I'm waiting for it to happen so that I can report it to all
of you, it won't (not that I mind).

I don't think it was an actual C5 but rather, it was that type of
error which doesn't die gracefully but rather creates a UI event
that must be responded to.

So, I watch and wait, and if the error never occurs again, I'll
learn to live without it.

Thanks,
Jeff
"Richard Stecenko" <Stecenko@xxxxxxxxxxxxxx> wrote in message
news:29ra25hvhq9krh16s5tmbkb083gsq48404@xxxxxxxxxx
And by corrupted memo files.

Richard Stecenko
Interactive Computer Services Inc.
Winnipeg, Canada
204.453.2052




.



Relevant Pages

  • Re: I would be worried if...
    ... an success it will be. ... These aren't real apps? ... music practice, netbook replacement, home automation, whatever). ... drawing between this and Tablet PC's. ...
    (comp.sys.mac.advocacy)
  • Re: Delphi for .Net 3?
    ... Personally BDS2006 is much better than BCB6 and I've ported ... a lot of apps over to it with complete success. ... I'm a C++ developer and I've been burned by OWL, OWL2, VCL and with the ...
    (borland.public.delphi.non-technical)
  • Re: Lifes little lessons
    ... mikey wrote: ... > I'd always sorta rationalized not really making much of a success of my ... They quoted it as author unknown. ... Master of human destinies am I. ...
    (alt.security.alarms)
  • Re: Advice for a Young Master
    ... Since then, I have become the youngest master of my lodge, Poage ... officers going up the line. ... I wish you good fortune and much success this year. ...
    (soc.org.freemasonry)
  • Re: I want to migrate to Linux
    ... apps to work then I will consider it a major success and well worth the ... effort of adopting Linux. ... I guess it would be beneficial if you post the apps that work well ... Windows 100%. ...
    (comp.os.linux.hardware)