The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Things I learned from my recent trip to Vancouver
Aug 15, 2016
Post comments count 0
Post likes count 0

Things I learned from my recent trip to Vancouver

Raymond Chen
Raymond Chen

It's not butter.

How can I debug a function that has been subjected to COMDAT folding?
Aug 15, 2016
Post comments count 0
Post likes count 0

How can I debug a function that has been subjected to COMDAT folding?

Raymond Chen
Raymond Chen

The easy way is to mutate the function.

On the importance of making sure WaitForInputIdle doesn’t think you’re idle, episode 2
Aug 12, 2016
Post comments count 0
Post likes count 0

On the importance of making sure WaitForInputIdle doesn’t think you’re idle, episode 2

Raymond Chen
Raymond Chen

WaitForInputIdle is how the shell knows that your DDE server.

I’m speaking at the brand new Microsoft Canada Excellence Centre tomorrow
Aug 11, 2016
Post comments count 0
Post likes count 0

I’m speaking at the brand new Microsoft Canada Excellence Centre tomorrow

Raymond Chen
Raymond Chen

But only for Microsoft employees, sorry.

On the importance of making sure WaitForInputIdle doesn’t think you’re idle, episode 1
Aug 11, 2016
Post comments count 0
Post likes count 0

On the importance of making sure WaitForInputIdle doesn’t think you’re idle, episode 1

Raymond Chen
Raymond Chen

WaitForInputIdle is how the shell knows that your DDE server.

How to create a file mapping that allows others to open the file in exclusive mode?
Aug 10, 2016
Post comments count 0
Post likes count 0

How to create a file mapping that allows others to open the file in exclusive mode?

Raymond Chen
Raymond Chen

This is a job for opportunistic locks.

What is a ZDP, and what’s so Z about it?
Aug 9, 2016
Post comments count 0
Post likes count 0

What is a ZDP, and what’s so Z about it?

Raymond Chen
Raymond Chen

Zero Day Package, but not that kind of zero day.

Why didn’t Windows 95 suck the brains out of the XMS driver?
Aug 8, 2016
Post comments count 0
Post likes count 0

Why didn’t Windows 95 suck the brains out of the XMS driver?

Raymond Chen
Raymond Chen

It was working fine up until now.

The case of the hung Explorer window
Aug 5, 2016
Post comments count 0
Post likes count 0

The case of the hung Explorer window

Raymond Chen
Raymond Chen

Decoding the deadlock.