🦜 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.
What can I do if IMlangConvertCharset is unable to convert from code page 28591 directly to UTF-8?
https://devblogs.microsoft.com/oldnewthing/20240726-00/?p=110048
Published: July 26, 2024 14:00
You can do the conversion in two steps using things you already have.
The post What can I do if IMlangConvertCharset is unable to convert from code page 28591 directly to UTF-8? appeared first on The Old New Thing.
In my Visual Studio project, I set my Conformance mode to permissive, but it’s still not permissive
https://devblogs.microsoft.com/oldnewthing/20240725-00/?p=110045
Published: July 25, 2024 14:00
Digging into what the compiler sees.
The post In my Visual Studio project, I set my Conformance mode to permissive, but it’s still not permissive appeared first on The Old New Thing.
API naming principle: If there is no direct object, then the direct object is the source object
https://devblogs.microsoft.com/oldnewthing/20240724-00/?p=110037
Published: July 24, 2024 14:00
If you don't know what it operates on or produces, then it operates on or produces itself.
The post API naming principle: If there is no direct object, then the direct object is the source object appeared first on The Old New Thing.
Unquoted service paths: The new frontier in script kiddie security vulnerability reports
https://devblogs.microsoft.com/oldnewthing/20240723-00/?p=110032
Published: July 23, 2024 14:00
Usually not exploitable, but the script kiddies don't know that.
The post Unquoted service paths: The new frontier in script kiddie security vulnerability reports appeared first on The Old New Thing.
Organizing the five creation dispositions of the CreateÂFile function
https://devblogs.microsoft.com/oldnewthing/20240722-00/?p=110026
Published: July 22, 2024 14:00
Six possibilities, but only five useful ones.
The post Organizing the five creation dispositions of the <CODE>CreateÂFile</CODE> function appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 9
https://devblogs.microsoft.com/oldnewthing/20240719-00/?p=109980
Published: July 19, 2024 14:00
Cheating the delegates.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 9 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 8
https://devblogs.microsoft.com/oldnewthing/20240718-00/?p=109977
Published: July 18, 2024 14:00
Generalizing the pattern.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 8 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 7
https://devblogs.microsoft.com/oldnewthing/20240717-00/?p=109975
Published: July 17, 2024 14:00
Implementing the contract directly.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 7 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 6
https://devblogs.microsoft.com/oldnewthing/20240716-00/?p=109973
Published: July 16, 2024 14:00
Let the conversion do the talking.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 6 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 5
https://devblogs.microsoft.com/oldnewthing/20240715-00/?p=109971
Published: July 15, 2024 14:00
Trying to fail more correctly.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 5 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 4
https://devblogs.microsoft.com/oldnewthing/20240712-00/?p=109967
Published: July 12, 2024 14:00
Failing is easy. Failing correctly is hard.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 4 appeared first on The Old New Thing.
Creating an already-completed asynchronous activity in C++/WinRT, part 3
https://devblogs.microsoft.com/oldnewthing/20240711-00/?p=109965
Published: July 11, 2024 14:00
Generalizing to the four kinds of Windows Runtime asynchronous activities.
The post Creating an already-completed asynchronous activity in C++/WinRT, part 3 appeared first on The Old New Thing.