XXX has encountered a probem and needs to close.

C

Control Freq

Hi,
My application sometimes generates the familiar Microsoft error
screen, where is shows "XXX has encountered a problem and needs to
close" blah blah.

Firstly, is there a proper name for this screen? I can't keep typing
"has encountered a problem......"

Secondly, as the programmer, it is my responsibility to fix the bug
that causes this, however, my application uses a number of third party
dll files, and the bug is generated by the dll.

Now, I cannot get the original developer to fix this bug, he doesn't
work for the company any more, and the company want money to fix it.
And my employers won't pay.
But, the bug is only a minor annoyance, all I want to do is to ignore
the microsoft error screen, and re-launch my app using a scheduled
task, or similar.

I can easily get the Schedule tasks to re-launch my app, but if the
Microsoft error screen is still showing, will this cause a problem?

Also, I understand that this is not a good idea, but, is it possible
to surpress this microsoft error screen from appearing in the first
place? Or at least somehow simulate a click of the "Don't Send"
button.


Help appreciated.

Regards
 
B

Brian K

Control said:
Hi,
My application sometimes generates the familiar Microsoft error
screen, where is shows "XXX has encountered a problem and needs to
close" blah blah.

Firstly, is there a proper name for this screen? I can't keep typing
"has encountered a problem......"

Secondly, as the programmer, it is my responsibility to fix the bug
that causes this, however, my application uses a number of third party
dll files, and the bug is generated by the dll.

Now, I cannot get the original developer to fix this bug, he doesn't
work for the company any more, and the company want money to fix it.
And my employers won't pay.
But, the bug is only a minor annoyance, all I want to do is to ignore
the microsoft error screen, and re-launch my app using a scheduled
task, or similar.

I can easily get the Schedule tasks to re-launch my app, but if the
Microsoft error screen is still showing, will this cause a problem?

Also, I understand that this is not a good idea, but, is it possible
to surpress this microsoft error screen from appearing in the first
place? Or at least somehow simulate a click of the "Don't Send"
button.


Help appreciated.

Regards
Error reporting can be disabled in Services. That would be unwise.
There are some errors that the user wants to know about.

Seems to me that this question would get better answers in one of the
Microsoft development groups open to public posts.

It's been a while since I coded, but maybe you need to do something like
this:

IF Specific Error THEN Suppress Specific Error Message
AND Clean up Results of Error.

You'll probably end up expanding this line of pseudo code into a major
function or even a complete module to handle it. I'd go for a function
as it's more compact (Programming language specific).
 
C

Control Freq

Hi,
Thanks for the reply. I have been working on XP for a few years now,
and I didn't know that the Error reporting service can be disable, or
modified.
I guess you live and learn something new each day.

I will try to disable the error reporting service.

I know that this will mask other problems, but the computer in
question is dedicated to only running this program, and it isn't
connected to the internet anyway, so sending an error report to
Microsoft won't work anyway.

So, thanks for the advice.

As suggested in my OP, I don't have access to the broken source code,
so I cannot implement a software fix of my own.

Many thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top