🦜 The Old New Thing
@devblogs.microsoft.com.oldnewthing@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
Your feed and you don't want it here? Just
e-mail the birb.
How can I explicitly specialize a templated C++ constructor?
https://devblogs.microsoft.com/oldnewthing/20241011-00/?p=110365
Published: October 11, 2024 14:00
Looking for a C++ tag type for representing another type.
The post How can I explicitly specialize a templated C++ constructor? appeared first on The Old New Thing.
A correction to the awaitable lock for C++ PPL tasks
https://devblogs.microsoft.com/oldnewthing/20241010-00/?p=110357
Published: October 10, 2024 14:00
Over-scoped lock.
The post A correction to the awaitable lock for C++ PPL tasks appeared first on The Old New Thing.
If threads are created without a message queue, why can I post to them immediately upon creation?
https://devblogs.microsoft.com/oldnewthing/20241009-00/?p=110354
Published: October 9, 2024 14:00
Check who is doing the posting.
The post If threads are created without a message queue, why can I post to them immediately upon creation? appeared first on The Old New Thing.
Microspeak: Run to ground
https://devblogs.microsoft.com/oldnewthing/20241008-00/?p=110351
Published: October 8, 2024 14:00
Come to a resolution.
The post Microspeak: Run to ground appeared first on The Old New Thing.
A popular but wrong way to convert a string to uppercase or lowercase
https://devblogs.microsoft.com/oldnewthing/20241007-00/?p=110345
Published: October 7, 2024 14:00
Converting character by character isn't good enough any more.
The post A popular but wrong way to convert a string to uppercase or lowercase appeared first on The Old New Thing.
How does the linker decide whether to call WinMain or wWinMain?
https://devblogs.microsoft.com/oldnewthing/20241004-00/?p=110338
Published: October 4, 2024 14:00
If you don't tell it, it will try to figure it out.
The post How does the linker decide whether to call <CODE>WinMain</CODE> or <CODE>wWinMain</CODE>? appeared first on The Old New Thing.
How can I detect whether the user is running as an elevated administrator (as opposed to a natural administrator)?
https://devblogs.microsoft.com/oldnewthing/20241003-00/?p=110336
Published: October 3, 2024 14:00
You can ask for the elevation type.
The post How can I detect whether the user is running as an elevated administrator (as opposed to a natural administrator)? appeared first on The Old New Thing.
A function for creating an absolute security descriptor from a self-relative one
https://devblogs.microsoft.com/oldnewthing/20241002-00/?p=110333
Published: October 2, 2024 14:00
Just wrap it up.
The post A function for creating an absolute security descriptor from a self-relative one appeared first on The Old New Thing.
Misunderstanding the “Prevent access to registry editing tools” policy
https://devblogs.microsoft.com/oldnewthing/20241001-22/?p=110330
Published: October 1, 2024 16:10
It prevents access to the tools, but not to the registry itself.
The post Misunderstanding the “Prevent access to registry editing tools” policy appeared first on The Old New Thing.
Pulling a single item from a C++ parameter pack by its index, remarks
https://devblogs.microsoft.com/oldnewthing/20240930-00/?p=110324
Published: September 30, 2024 14:00
Why such a complicated way to pull the type from the pack?
The post Pulling a single item from a C++ parameter pack by its index, remarks appeared first on The Old New Thing.
The case of the crash when destructing a std::map
https://devblogs.microsoft.com/oldnewthing/20240927-00/?p=110320
Published: September 27, 2024 14:00
Who is corrupting the map?
The post The case of the crash when destructing a <CODE>std::map</CODE> appeared first on The Old New Thing.