Re: error report for MY apps?

Tech-Archive recommends: Speed Up your PC by fixing your registry



If you're running under Windows XP, consider converting the exception into a
null pointer dereference in the catch handler:

catch(...) { // now we're really stuffed

int * p = 0;

*p = 22;



This has the advantage over an ordinary crash that you will get one of those
special OS-supplied dialogs, that asks permission to send log details back
to Microsoft. Naive users will interpret this as a Windows fault, and will
direct their bile Redmondwards.

Of course, all the above techniques can be combined in fresh and original
ways. Never be afraid to experiment.

The primary duty of an exception handler is to get the error out of the lap
of the programmer and into the surprised face of the user. Provided you keep
this cardinal rule in mind, you can't go far wrong.

[from The Register]



;)

"sklett" <sklett@xxxxxxxxxxxx> wrote in message
news:eMNljx9VGHA.1764@xxxxxxxxxxxxxxxxxxxxxxx
You know when an application crashes and it will popup that dialog that
asks you if you want to send an error report? What is that called? I
want to add that to my applications, but I'm not find what it's called so
I can learn more.

Thanks for any tips,
Steve



.



Relevant Pages

  • Re: WinForms bug? ThreadException not invoked on Exceptions in system code pre-processing the me
    ... Message Queue and invoking the appropriate handler. ... if an Exception is raised during the PRE-PROCESSING of a Windows ... And because any handling will probably fail if there is no memory, the CLR will terminate the application without attempting to call the ApplicationException or UnhandledException events. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • WinForms bug? ThreadException not invoked on Exceptions in system code pre-processing the messag
    ... Message Queue and invoking the appropriate handler. ... if an Exception is raised during the PRE-PROCESSING of a Windows ... before this point in the app... ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Newby Question : Update to Sub Main in vb.net
    ... An unhandled Exception Error has occurred in your application. ... >> I'm trying to implement an overall error handler in my VB.NET windows ... > Use AddHandler in your Sub Main. ... In my Windows Forms apps I would have a handler attached to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Exception Handling...
    ... just windows. ... remapped from windows codes to delphi codes to get ... them on to the "unhandled exceptions" handler. ... >exception handler be located. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Try Finally...
    ... Now we can protect every more or less specialized action ... an error indication (exception or error code) has to be ... an according exception handler can be inserted into the code. ... resources, as they are related to specific actions. ...
    (comp.lang.pascal.delphi.misc)