Defrag Tools: #70 - Windows 8.1 - Interop Crash

Download this episode

Download Video

Download captions

Download Captions


In this episode of Defrag Tools, Andrew Richards and Chad Beeder walk you through a common issues in Windows Store applications that use Interop. We use a Windows Store 8.1 app sample to show how missing code affects the stability of the process.

Improving apps with Quality reports
Windows 8.1 Application Samples
Defrag Tools SkyDrive (inc. Scripts and ProcDumpExt)

[00:34] - Commonly missed CLR Exceptions
[06:50] - What's an Interop application?
[09:10] - What's an HRESULT? (Microsoft; Wikipedia)
[13:23] - Samples - XAML SurfaceImageSource DirectX interop example
[18:15] - Remove the removed/reset handler to cause an HRESULT based exception
[20:21] - Add an exception handler with associated XAML TextBlock
[23:16] - Sometimes you get System.Exception, instead of the exact exception type
[25:10] - Dump of the unhandled exception... No CLR Exception (!pe)
[28:21] - Email us your issues at
[29:34] - DirectX apps on old DirectX hardware
If you have a crash you don't understand, email the CAB file to and we'll help you.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      I love it, Larry plays it off great but I think his brain was bubbling and his head was going to spin around like BeetleJuice from all the code jargon.  You could almost picture his eyes spinning like cookie monster as he nods along to everything Andrew explains.,  LOL

      just kidding Larry, If you aren't a programmer, it is hard to comprehend most of that stuff.  Happy Holidays

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.