The Curious Engineer

All blogs / C# / .NET

Yi Zhang's MSDN Blog

learn.microsoft.com/en-us/archive/blogs/yizhang

Everything about the CLR - interop / WinRT / and other random stuff

C# / .NETC++PythonConcurrencyWindows internalsMicrosoft blogs

’10’15’20’25
Posts
17 from 17 Dec 2010 to 8 Feb 2018
Posting
archived, read-only
Kind
personal blog
Feed
https://learn.microsoft.com/en-us/archive/blogs/yizhang/feed.xml

2018 4

  1. Top secret .NET handles - Part 1 - Dependent handles
  2. Calling C functions from Python - part 3 - deep dive into ctypes implementation in CPython
  3. Calling C functions from Python - part 2 - writing CPython extensions using Python/C API
  4. Calling C functions from Python - part 1 - using ctypes

2017 5

  1. C++ coroutine tutorial
  2. Writing your own lock-free reader/writer lock
  3. Sharing .NET generic code under the hood
  4. C# value type boxing under the hood
  5. Moving my blog to GitHub pages - https://yizhang82.me

2014 2

  1. Getting rid of TypeLoadException in your WinRT app
  2. Async talks on Channel 9

2013 3

  1. Avoiding C++ types in your P/invokes
  2. WARNING: VS 2012 might break your broken P/Invoke
  3. Marshal.GetHRForException does more than just Get-HR-For-Exception

2011 1

  1. Effective WinDbg breakpoints using hit counts

2010 2

  1. If your Windows Phone 7 doesn’t sync with Zune Software, try a different USB port
  2. Interpreting HRESULTS returned from .NET/CLR: 0x8013XXXX