UnhandledExceptionManager for .NET 2.3

By Mauro Venturini

Freeware 02 Jun 2006

In category

.NET > System > Other

Description

When a .NET application hits an unhandled exception the default behaviour is to show a very poor dialog. Therefore, it is (or should be) common practice to hook UnhandledException event of the current AppDomain and ThreadException event of Application.

Unfortunately, there are security restrictions on these hookings that prevent their direct use inside application that will be run without full trust (and even Local Intranet group does NOT have full trust).

A solution is to delegate the hookings to a full trusted assembly inside the GAC and reference it. UnhandledExceptionManager is an assembly that implements the technique. Version 2 supports also delayed binding usage that reverts to reduced functionality when UnhandledExceptionManager assembly is missing (and in doing so evidences the problem).

Informations

  • Status: Fully functional
  • Source: FW
  • Size: 268 147kB

Platforms:

  • Delphi 2006

Downloads