The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Dec 19, 2023
Post comments count
1
Post likes count
1
Microspeak: Locked and loaded
Armed and ready, with the suggestion that no further changes will be needed (or accepted).
Dec 18, 2023
Post comments count
1
Post likes count
0
In 2023, the Gävle Goat faces a new threat to its survival
It's bock.
Dec 18, 2023
Post comments count
3
Post likes count
1
If the RegisterClass function takes ownership of the custom background brush, why is it leaking?
It takes ownership only on success.
Dec 15, 2023
Post comments count
2
Post likes count
1
How do I specify an optional string parameter to a Windows Runtime method?
Strings are sort of reference but sort of values.
Dec 14, 2023
Post comments count
1
Post likes count
1
How do I specify an optional parameter to a Windows Runtime method?
There is no way to express explicit optionality, but there are implicit ways.
Dec 13, 2023
Post comments count
0
Post likes count
2
How can I work around the absence of default parameters in the Windows Runtime?
You can fake it with overloads.
Dec 12, 2023
Post comments count
4
Post likes count
4
What happens if I define one environment variable in terms of the value of another environment variable?
Only certain types of dependencies are supported.
Dec 11, 2023
Post comments count
12
Post likes count
6
The mysterious second parameter to the x86 ENTER instruction
For an ABI that probably nobody uses.
Dec 8, 2023
Post comments count
6
Post likes count
3
A simpler version of the task sequencer that doesn’t promise fairness
Just let a kernel object control the access.