The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Sep 17, 2010

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 ...

0
0
Raymond Chen
Raymond Chen
Sep 16, 2010

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 ...

0
0
Raymond Chen
Raymond Chen
Sep 15, 2010

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: ...

0
0
Raymond Chen
Raymond Chen
Sep 15, 2010

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...

0
0
Raymond Chen
Raymond Chen
Sep 14, 2010

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...

0
0
Raymond Chen
Raymond Chen
Sep 13, 2010

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 ...

0
0
Raymond Chen
Raymond Chen
Sep 13, 2010

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...

0
0
Raymond Chen
Raymond Chen
Sep 10, 2010

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...

0
1
Raymond Chen
Raymond Chen
Sep 9, 2010

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...

0
0