The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Jul 6, 2011

The historical struggle over control of the Portuguese language

Portugal has been going through a rough patch. Its international stature has diminished over the years, its economy has always struggled to remain competitive, ...

0
0
Raymond Chen
Raymond Chen
Jul 6, 2011

Looking at the problem at the wrong level: Closing a process's stdin

A customer was having trouble manipulating the stdin stream that was given to a process. How do you simulate sending Ctrl+Z to a hidden console process ...

0
0
Raymond Chen
Raymond Chen
Jul 5, 2011

Microspeak: Reporting through

I'll start with the citation from a hypothetical conversation: "This is being handled by Jonathan Swift." — Who does he report through? "He reports ...

0
0
Raymond Chen
Raymond Chen
Jul 4, 2011

A handful of trips through the time machine

A few trips through the time machine: In the Internet Explorer time machine video, I was struck by the remark, "Appearance-wise, very little had changed [in ...

0
0
Raymond Chen
Raymond Chen
Jul 1, 2011

The list of heaps returned by GetProcessHeaps is valid when it returns, but who knows what happens later

A customer had a problem involving heap corruption. In our code, we call and then for each heap, we call to enable the low fragmentation heap. However, ...

0
0
Raymond Chen
Raymond Chen
Jun 30, 2011

2011 mid-year link clearance

Another round of the semi-annual link clearance. And, as always, the obligatory plug for my column in TechNet Magazine...

0
0
Raymond Chen
Raymond Chen
Jun 30, 2011

The UseUrl attribute in the App Paths key indicates that your application can accept a URL on the command line

Setting the attribute in your key indicates that your application can accept a URL on the command line as the document to be opened. The documentation for ...

0
0
Raymond Chen
Raymond Chen
Jun 29, 2011

What happens to WPARAM, LPARAM, and LRESULT when they travel between 32-bit and 64-bit windows?

The integral types , , and are 32 bits wide on 32-bit systems and 64 bits wide on 64-bit systems. What happens when a 32-bit process sends a message to a 64-...

0
0