And the customary plug for my series of short videos on One Dev Minute:
Some time ago, I told stories of the anxiety on the evening of December 31, 1999 at Microsoft and at Microsoft Press. This prompted a now-retired colleague of mine to share a story about the run-up to the year 2000. The core kernel team had wrapped up their Windows 2000 work well before the end of the year 1999.¹ But instead of the trad
Michael Quinlan wondered about the text size limits related to the standard static control.¹ We start with the resource format, since that was the limiting factor in the original problem. The original 16-bit resource format represented strings as null-terminated sequences of bytes, so in theory they could have been arbitrarily large. How
In an Insider build of Windows 10 some time ago, there was a bug that caused four new toggle buttons to show up in the Settings app, but with no description aside from "On" and "Off". Off The fact that this was a known bug didn't stop people on the Windows team from wishing what the toggles really did. In reality, th
A customer reported that they installed the Portuguese (Portugal) language pack, but even after rebooting, the ipconfig command still printed results in English. Same problem occurs with Turkish. But German is fine. What's going on? There are multiple levels of localization. This page has some nice diagrams which illustrate them. I've reprod
I saw a laptop advertised as supporting "Wireless AC". I thought to myself, "Sweet, no more power cables!" Unfortunately, it was not referring to wireless alternating current. It was referring to the 802.11ac wireless networking standard. Because of course the standard that comes after 802.11n should be called 802.11ac. The first few 802.
For your enjoyment, I share with you a link to the most comprehensive list of well-known SIDs I've found yet. A little present for the holidays.
In my survey of patterns for using the InitOnce functions, I omitted the synchronous two-phase initialization. The synchronous two-phase initialization is similar to the simple callback-based version in that only one thread gets to attempt an initialization at a time. But instead of doing the initialization in a callback, you do the initializ
A customer had a problem with their application that used network sockets, and they wanted to know what the maximum numeric value for a socket is. "The program uses a signed integer to hold the socket descriptor, and we found in our testing that the numeric value of INVALID_SOCKET is 0xFFFFFFFF. What is the maximum value?" In addition to bein
A customer reported that Explorer was not showing a folder on their hard drive that they were sure was there. I asked them to check whether the folder really was there, by going to a command prompt and using the dir /a command. Turns out the folder really was gone. The customer went back and retraced their steps and reconstructed what happe