home.social

#winrt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #winrt, aggregated by home.social.

  1. A hypothetical redesign of System.Diagnostics.Process to avoid confusion over properties that are valid only when you are the one who called Start | by Raymond Chen

    devblogs.microsoft.com/oldnewt

  2. "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.

    #Win32

  3. "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.

    #Win32

  4. 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 #WinRT

  5. 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 #WinRT

  6. Anyone here with #WinRT knowledge?
    If I have e.g. com:ComInterface and com4:ComInterface registered, does com4 on supported systems override the com declaration?

    #Windows #Win32 #UWP #MSIX

  7. Anyone here with #WinRT knowledge?
    If I have e.g. com:ComInterface and com4:ComInterface registered, does com4 on supported systems override the com declaration?

    #Windows #Win32 #UWP #MSIX

  8. Why is #WinRT / WinMD so much more pain than creating the same in regular #MIDL #COM?

    #Win32

  9. Why is #WinRT / WinMD so much more pain than creating the same in regular #MIDL #COM?

    #Win32

  10. How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 2 | by Raymond Chen.

    devblogs.microsoft.com/oldnewt

  11. Because the iid of a generic interface in the #WinRT type-system is the uuid5 of it's signature, we can brute-force the layout of `SendDataProgress` by matching against the known iid (40772286-cf1a-5cbd-9d74-4137587691d5).

  12. Because the iid of a generic interface in the #WinRT type-system is the uuid5 of it's signature, we can brute-force the layout of `SendDataProgress` by matching against the known iid (40772286-cf1a-5cbd-9d74-4137587691d5).

  13. How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 1 | by Raymond Chen.

    devblogs.microsoft.com/oldnewt

  14. How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 1 | by Raymond Chen. buff.ly/4sbjopS #cpp #winrt #async #programming #windowsdev

    How can I write a C++/WinRT IA...

  15. How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 1 | by Raymond Chen. buff.ly/4sbjopS #cpp #winrt #async #programming #windowsdev

    How can I write a C++/WinRT IA...

  16. Has someone performed any micro benchmarking of COM/WinRT against PInvoke?
    I.e. I have a wrapper in WinRT, and call some Win32-function, vs calling the Win32 function directly from C#?

    #DotNet #CSharp #Windows #WinRT #Cpp

  17. Has someone performed any micro benchmarking of COM/WinRT against PInvoke?
    I.e. I have a wrapper in WinRT, and call some Win32-function, vs calling the Win32 function directly from C#?

    #DotNet #CSharp #Windows #WinRT #Cpp

  18. Has someone performed any micro benchmarking of COM/WinRT against PInvoke?
    I.e. I have a wrapper in WinRT, and call some Win32-function, vs calling the Win32 function directly from C#?

    #DotNet #CSharp #Windows #WinRT #Cpp

  19. Has someone performed any micro benchmarking of COM/WinRT against PInvoke?
    I.e. I have a wrapper in WinRT, and call some Win32-function, vs calling the Win32 function directly from C#?

    #DotNet #CSharp #Windows #WinRT #Cpp

  20. Has someone performed any micro benchmarking of COM/WinRT against PInvoke?
    I.e. I have a wrapper in WinRT, and call some Win32-function, vs calling the Win32 function directly from C#?

    #DotNet #CSharp #Windows #WinRT #Cpp