The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Apr 29, 2022

The case of the failed exchange of the vtable slot

Another application compatibility case.

4
0
Raymond Chen
Raymond Chen
Apr 28, 2022

What’s up with std::piecewise_construct and std::forward_as_tuple?

When you need to pass two sets of variadic parameters, and to work around other extremely weird edge cases.

2
1
Raymond Chen
Raymond Chen
Apr 27, 2022

How do I decode a #pragma detect_mismatch error?

The linker tells you a bunch of stuff. Here's what it means.

0
0
Raymond Chen
Raymond Chen
Apr 26, 2022

Be careful with that thing, it’s a confidential coffee maker

Just keep it under wraps.

9
4
Raymond Chen
Raymond Chen
Apr 22, 2022

Trying to create a factory that remembers the parameters to pass to another method

Lost in a twisty maze of universal references.

3
0
Raymond Chen
Raymond Chen
Apr 21, 2022

How do I access and customize the IInspectable methods of a Windows Runtime class written in C++/WinRT?

Special access methods, but normal overrides.

0
0
Raymond Chen
Raymond Chen
Apr 20, 2022

Class template argument deduction may be the new hotness, but we’ll always have maker functions

It's all or nothing, and sometimes you don't have all.

0
0
Raymond Chen
Raymond Chen
Apr 19, 2022

The Applesoft Compiler (TASC): We have the source code, in a sense

The desperation of programming under tight memory constraints.

10
0