How do I enumerate remembered connections that are not currently connected? August 31, 2015 Aug 31, 2015 08/31/15 Raymond Chen WNetEnumResources again.
Debugging walkthrough: Access violation on nonsense instruction, episode 3 August 28, 2015 Aug 28, 2015 08/28/15 Raymond Chen Ow, that patch hurts.
The Windows 95 I/O system assumed that if it wrote a byte, then it could read it back August 27, 2015 Aug 27, 2015 08/27/15 Raymond Chen Stands to reason.
Rules can exist not because there’s a problem, but in order to prevent future problems August 26, 2015 Aug 26, 2015 08/26/15 Raymond Chen Not constraining future optimizations.
Microspeak: DRI, the designated response individual August 25, 2015 Aug 25, 2015 08/25/15 Raymond Chen The first line of defense.
Insightful graph: The ship date predictor August 24, 2015 Aug 24, 2015 08/24/15 Raymond Chen Factor of two (and a little).
Handy delegate shortcut hides important details: The hidden delegate August 21, 2015 Aug 21, 2015 08/21/15 Raymond Chen Sit. Stay.
I saw a pinvoke signature that passed a UInt64 instead of a FILETIME, what’s up with that? August 20, 2015 Aug 20, 2015 08/20/15 Raymond Chen Stricter than necessary, but that's okay.
If you are going to call Marshal.GetLastWin32Error, the function whose error you’re retrieving had better be the one called most recently August 19, 2015 Aug 19, 2015 08/19/15 Raymond Chen Watch out for functions called behind your back.
If you are going to call Marshal.GetLastWin32Error, the function whose error you’re retrieving had better have SetLastError=true August 18, 2015 Aug 18, 2015 08/18/15 Raymond Chen Or it won't get anything.