Browse by Tags

Tagged Content List
  • Blog Post: Getting rid of TypeLoadException in your WinRT app

    I've seen enough people asking about this so I thought I should talk about this in my blog. They see strange first-chance TypeLoadException happening in their application but it doesn't seem never cause any problem (app doesn't crash) and everything still seem to work 'fine'. This seem to happen mostly...
  • Blog Post: Marshal.GetHRForException does more than just Get-HR-For-Exception

    Let's first start by looking at a small code snippet: if (Marshal.GetHRForException(myException) == E_SOME_COM_ERROR) DoSomething(); This looks perfectly fine, right? Not really. It turns out this API is actually poorly named, and it actually does more than just retrieving the HR from the exception...
  • Blog Post: Interpreting HRESULTS returned from .NET/CLR: 0x8013XXXX

    What is 0x8013XXXX Occasionally you might run into mysterious HRESULTs returned from .NET that begins with 0x8013, for example, 0x80131522. Unfortunately the error lookup shipped with Visual Studio doesn’t really work on those strange HRESULTs. What are they? It turns out they are in fact, defined by...
Page 1 of 1 (3 items)