The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Be careful when redirecting both a process’s stdin and stdout to pipes, for you can easily deadlock
Pipe in, pipe out.
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, ...
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 ...
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 ...
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 ...
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, ...
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...
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 ...
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-...