Everything you care about in one place

Follow feeds: blogs, news, RSS and more. An effortless way to read and digest content of your choice.

Get Feeder

devblogs.microsoft.com

The Old New Thing

Get the latest updates from The Old New Thing directly as they happen.

Follow now 83 followers

Latest posts

Last updated 2 days ago

The case of the invalid handle error when a handle is closed while a thread is waiting on it

2 days ago

A customer tracked one of their crashes to an invalid handle exception...

Learning to read C++ compiler errors: Ambiguous symbol errors after including a header file

3 days ago

A colleague added another header file to their project, and everything started...

You have to tell Get- and Set­Security­Info the object type, you can’t make it guess

4 days ago

A customer was trying to read the security information from a process...

Funding the Egghead store shopping spree took a little extra legwork

5 days ago

Some time ago, I told the story of the time the development...

Writing a helper class for generating a particular category of C callback wrappers around C++ methods

6 days ago

A common pattern for C callbacks is to accept a function pointer...

Thread pool threads are like preschool: Leave things the way you found them

9 days ago

A customer wanted to use the Windows thread pool, but they also...

Why does Windows even have Interlocked functions when we have std::atomic?

10 days ago

Windows provides a family of functions for performing atomic operations. They have...

Removing the MAX_PATH restriction on paths applies only to paths

11 days ago

A customer was playing around with Windows long paths and found that...

Application compatibility for Windows 95 crashed a cash register

12 days ago

Some time ago, I told the story of the time the development...

Dubious security vulnerability: Tricking a program into running non-elevated

13 days ago

Within the span of a week,¹ we received two security vulnerability reports...

Why does C++ think my class is copy-constructible when it can’t be copy-constructed?

16 days ago

Consider the following scenario template<typename T> struct Base { // Default-constructible Base()...

Why do some Windows functions fail if I pass an unaligned Unicode string?

17 days ago

A customer found that if they passed Unicode strings (which in Windows...