The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

You have to tell Get-
and SetSecurityInfo
the object type, you can’t make it guess

It needs to know which provider to give it to.

Funding the Egghead store shopping spree took a little extra legwork

Just ask the boss.

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

Another exercise in C++ template programming.

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

Your mother always told you to clean up behind yourself.

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

Well, you have to start somewhere.

Removing the MAX_PATH
restriction on paths applies only to paths

The individual file names still retain their existing limits.

Application compatibility for Windows 95 crashed a cash register

Exceeding all reasonable maximums.

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

You can do anything, but still within the limits of your authority.

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

You said that you had a copy constructor, even though it can't be compiled.