The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Dec 20, 2022

Why doesn’t the BitLocker wizard let me save the BitLocker key on an encrypted drive?

Don't lock your keys in the car.

9
4
Raymond Chen
Raymond Chen
Dec 19, 2022

On the large number of ways of expressing Microsoft Visual C++ compiler versions

So many version numbers.

6
3
Raymond Chen
Raymond Chen
Dec 16, 2022

Why doesn’t Windows use the 64-bit virtual address space below 0x00000000`7ffe0000?

It does use it, although it doesn't look like it.

7
5
Raymond Chen
Raymond Chen
Dec 15, 2022

Inside C++/WinRT: IReference<T>

Reverse-engineering the usages from the code.

1
0
Raymond Chen
Raymond Chen
Dec 14, 2022

In C++/WinRT, how do I create or consume an IReference<T> that wraps a particular value?

Conversions to and from IReference.

0
0
Raymond Chen
Raymond Chen
Dec 13, 2022

Thank you for conference announcement, but it would help if you told me what your conference was about

There was an announcement of an all-day Microsoft-internal conference featuring a project I will call Project Enzyme. The announcement went like this: The ...

5
2
Raymond Chen
Raymond Chen
Dec 12, 2022

What does it mean when the compiler tells me that promise_type: is not a member of coroutine_traits<void>?

Applying your understanding of the coroutine transformation.

0
0
Raymond Chen
Raymond Chen
Dec 9, 2022

How can I do the opposite of compare_exchange and exchange if the value is different?

An exchange with itself has no effect on the value.

0
1