Defrag Tools: #70 - Windows 8.1 - Interop Crash
- Posted: Dec 23, 2013 at 9:00 AM
- 39,778 Views
- 1 Comment
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
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.
[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 firstname.lastname@example.org
[29:34] - DirectX apps on old DirectX hardware
If you have a crash you don't understand, email the CAB file to email@example.com and we'll help you.