"Cool API you wanna use there, would be a shame if it doesn't work on half your target systems" - #Microsoft, with the #WinRT PackageManager API.
Fuck you.
"Cool API you wanna use there, would be a shame if it doesn't work on half your target systems" - #Microsoft, with the #WinRT PackageManager API.
Fuck you.
How?
Type: System.Runtime.InteropServices.COMException
Message:
Stack Trace: at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
at …
at Windows.ApplicationModel.StartupTask.GetAsync(String taskId)
Why is StartupTask.GetAsync(id) failing.
And why isn't the exception showing the error code?
Windows Runtime API design principles around read-write properties: Idempotence and self-assignment | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20251008-00/?p=111660
#winrt #windowsdev #apidesign #windowssdk #windows #programming
How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 2 | by Raymond Chen.
https://devblogs.microsoft.com/oldnewthing/20250904-00/?p=111557
How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 1 | by Raymond Chen.
https://devblogs.microsoft.com/oldnewthing/20250903-00/?p=111546