The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jan 3, 2024
Post comments count
1
Post likes count
2
Why doesn’t my code compile when I change a shared_ptr<T>(p) to an equivalent make_shared<T>(p)?
It depends on who is doing the parameter conversion.
Jan 2, 2024
Post comments count
7
Post likes count
4
It rather involved being on the other side of this airtight hatchway: Attacking another program by modifying its memory
If you assume the existence of a vulnerability, you can use that vulnerability to attack something.
Jan 1, 2024
Post comments count
0
Post likes count
2
How do I prevent my ATL class from participating in COM aggregation? DECLARE_NOT_AGGREGATABLE didn’t work
That marker applies only to creation via the class factory.
Dec 29, 2023
Post comments count
8
Post likes count
4
2023 year-end link clearance
Ringing out another year.
Dec 29, 2023
Post comments count
2
Post likes count
4
How to allocate address space with a custom alignment or in a custom address region
Some new powers to guide the allocation.
Dec 28, 2023
Post comments count
1
Post likes count
4
On calling AfxConnectionAdvise with bAddRef set to FALSE
Playing fast and loose, and eventually you get burnt.
Dec 27, 2023
Post comments count
1
Post likes count
4
What does it mean when the compiler says that it can’t convert something to itself?
Why is it even thinking about a conversion?
Dec 26, 2023
Post comments count
1
Post likes count
9
Don’t keep state in your XAML item templates; put the state in the items
Beware of temporary alliances.
Dec 25, 2023
Post comments count
3
Post likes count
6
That time the Word team sent presents to the children of WordPerfect’s executive vice president
No, it wasn't creepy.