The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Oct 10, 2024

A correction to the awaitable lock for C++ PPL tasks

Over-scoped lock.

0
1
Raymond Chen
Raymond Chen
Oct 8, 2024

Microspeak: Run to ground

Come to a resolution.

1
1
Raymond Chen
Raymond Chen
Oct 7, 2024

A popular but wrong way to convert a string to uppercase or lowercase

Converting character by character isn't good enough any more.

12
5
Raymond Chen
Raymond Chen
Oct 4, 2024

How does the linker decide whether to call WinMain or wWinMain?

If you don't tell it, it will try to figure it out.

0
2
Raymond Chen
Raymond Chen
Oct 1, 2024

Misunderstanding the “Prevent access to registry editing tools” policy

It prevents access to the tools, but not to the registry itself.

5
4
Raymond Chen
Raymond Chen
Sep 30, 2024

Pulling a single item from a C++ parameter pack by its index, remarks

Why such a complicated way to pull the type from the pack?

3
0