The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Oct 11, 2024

How can I explicitly specialize a templated C++ constructor?

Looking for a C++ tag type for representing another type.

0
1
Raymond Chen
Raymond Chen
Oct 10, 2024

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

Over-scoped lock.

0
2
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.

13
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