The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
What's up with the strange treatment of quotation marks and backslashes by CommandLineToArgvW
The way the function treats quotation marks and backslashes has raised eyebrows at times. Let's look at the problem space, and then see what algorithm would ...
How is the CommandLineToArgvW function intended to be used?
The function does some basic command line parsing. A customer reported that it was producing strange results when you passed an empty string as the first ...
Follow-up: The impact of overwhelmingly talented competitors on the rest of the field
A while back, I wrote on the impact of hardworking employees on their less diligent colleagues. Slate uncovered a study that demonstrated the reverse effect: ...
How do I create a UNC to an IPv6 address?
Windows UNC notation permits you to use a raw IPv4 address in dotted notation as a server name: For example, will show you the shared resources on the computer...
Microspeak: Sats
I introduced this Microspeak last year as part of a general entry about management-speak, but I'm giving it its own entry because it deserves some attention on...
Ha ha, the speaker gift is a speaker, get it?
As a thank-you for presenting at TechReady11, the conference organizers gave me (and presumably the other speakers) a portable speaker with the Windows logo ...
Why doesn't Win32 give you the option of ignoring failures in DLL import resolution?
Yuhong Bao asked, via the Suggestion Box, "Why not implement delay-loading by having a flag in the import entry specifying that Windows should mimic the Windows...
Hey there token, long time no see! (Did you do something with your hair?)
Consider a system where you have a lot of secured objects, and suppose further that checking whether a user has access to an object is a slow operation. This is...
Flushing your performance down the drain, that is
Some time ago, Larry Osterman discussed the severe performance consequences of flushing the registry, which is a specific case of the more general performance...