This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft logo |
Search MSDN
Search all blogs
Search this blog
Sign in

The Old New Thing The Old New Thing

Month: April 2017

Why does the compiler generate memory operations on the full variable even though only one byte is involved?

Store-to-load forwarding.

April 28, 20175
★★★★★
★★★★
★★★
★★
★

Static hooking through predefinition

Creating your own hook points.

April 27, 20179
★★★★★
★★★★
★★★
★★
★

Why are there two incompatible ways of specifying a serial port baud rate?

Toto, I don’t think we’re on an IBM PC XT any more.

April 26, 201724
★★★★★
★★★★
★★★
★★
★

How do I kill a program that hung with an always-on-top fullscreen window?

Hey, look at that desktop over there.

April 25, 201738
★★★★★
★★★★
★★★
★★
★

Filtering the Browse for Folder dialog so it shows only drive letters

An exercise in filtering.

April 24, 201716
★★★★★
★★★★
★★★
★★
★

Application crash reported as security vulnerability, but you never crossed the airtight hatchway

A crash is not a priori a security vulnerability.

April 21, 20174
★★★★★
★★★★
★★★
★★
★

On generating sentinel pointer values in Windows

That’s not a pointer. This is a pointer.

April 20, 201731
★★★★★
★★★★
★★★
★★
★

Under what conditions could a commit of reserved memory fail?

Usually because you are out of memory, but really it’s when you’re out of commit.

April 19, 20174
★★★★★
★★★★
★★★
★★
★

That time a customer reported an error in the map used by Flight Simulator

But whose map is right?

April 18, 201742
★★★★★
★★★★
★★★
★★
★

Why does my __FILE__ macro produce an invalid address, which mysteriously becomes valid a few moments later?

It’s not there until somebody demands it.

April 17, 20177
★★★★★
★★★★
★★★
★★
★

1 2 Next

Follow Us

Holy cow, I wrote a book

Basics

  • Ground Rules
  • Suggestion Box
  • Contact Me
  • Disclaimers and such

Categories

  • Code
  • Non-Computer
  • Other
  • History
  • Tips/Support

Archives

  • April 2018 (17)
  • March 2018 (28)
  • February 2018 (21)
  • January 2018 (29)
  • All of 2018 (95)
  • All of 2017 (285)
  • All of 2016 (276)
  • All of 2015 (276)
  • All of 2014 (304)
  • All of 2013 (348)
  • All of 2012 (307)
  • All of 2011 (310)
  • All of 2010 (360)
  • All of 2009 (420)
  • All of 2008 (431)
  • All of 2007 (460)
  • All of 2006 (430)
  • All of 2005 (396)
  • All of 2004 (440)
  • All of 2003 (189)
  • Privacy Terms of Use Trademarks
    © 2018 Microsoft