New VS feature allows VS to crash!

One of the newer “features” in Visual Studio 8.0 is the ability for us to collect better information about exceptions that are thrown in VS.  When an exception is thrown (and unhandled), VS will generate a Watson report that will send microsoft a minidump where the exception occurred.  Once we get this watson report, its…

3

Fixing Window leaks and "Class Already Registered" errors

Windows Forms makes it very easy to create a rich UI experience.  But it also makes it easy to leak windows or resources. For example, say you create a new temporary AppDomain and decide to show some UI in it.  If you close the AppDomain without cleaning up the windows (ie call Dispose on the…

2