#winrt — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #winrt, aggregated by home.social.
-
Microsoft、JavaScriptからWinRT APIを直接呼び出せる仕組みをパブリックプレビュー/Electron/Node.jsアプリからローカルAIや通知を利用。動的な生成で従来の不便を解消
https://forest.watch.impress.co.jp/docs/news/2128639.html#forest_watch_impress #JavaScript #Node_js #Electron #winapp #WinRT #プログラミング #Windows
-
UIをコマンドでタッチ・ドラッグ、JS/TSからWinRT APIを直接呼び出し ~「winapp CLI 0.5.0」が公開/「Claude Code」向けプラグインを追加、「VS Code」拡張機能も拡充
https://forest.watch.impress.co.jp/docs/news/2127572.html#forest_watch_impress #WinUI #winapp #Windows_App_Development_CLI #WinRT #プログラミング #Windows
-
Cancellation of Windows Runtime activities is asynchronous | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260624-00/?p=112465
-
Cancellation of Windows Runtime activities is asynchronous | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260624-00/?p=112465
-
Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 1 | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260527-00/?p=112361
-
Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 1 | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260527-00/?p=112361
-
If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT? | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260526-00/?p=112354
#windowsdev #winrt #cpp #javascript #winjs #csharp #dotnet #programming
-
If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT? | by Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20260526-00/?p=112354
#windowsdev #winrt #cpp #javascript #winjs #csharp #dotnet #programming
-
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
https://devblogs.microsoft.com/oldnewthing/20260525-00/?p=112351
-
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
https://devblogs.microsoft.com/oldnewthing/20260525-00/?p=112351
-
"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
-
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 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
-
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
-
Using Windows-Media WinRT SpeechRecognition in WPF | by Rick Strahl.
https://weblog.west-wind.com/posts/2025/Mar/24/Using-WindowsMedia-SpeechRecognition-in-WPF
-
Using Windows-Media WinRT SpeechRecognition in WPF | by Rick Strahl.
https://weblog.west-wind.com/posts/2025/Mar/24/Using-WindowsMedia-SpeechRecognition-in-WPF
-
Launch Snipping Tool from Windows apps | Microsoft Learn.
https://learn.microsoft.com/en-us/windows/apps/develop/launch/launch-snipping-tool
#windows11 #windows #windev #windowsdev #dotnet #csharp #winrt
-
Launch Snipping Tool from Windows apps | Microsoft Learn.
https://learn.microsoft.com/en-us/windows/apps/develop/launch/launch-snipping-tool
#windows11 #windows #windev #windowsdev #dotnet #csharp #winrt
-
Anyone here got a fancy wrapper struct for COM instances, that allows for dot-method calls, is IDisposable, and works seamlessly with IUnknown**, void**, T**, out IUnknown*, out void*, out T*, and doesn't depend on weird Marshal RCW-behaviors?
Basically C++ smart pointers for COM (like WIL/WinRT com_ptr, com_ref). -
Make Great Music with Windows on Arm by Pete Brown.
#windowsdev #winrt #midi #windows #arm64
https://devblogs.microsoft.com/windows-music-dev/making-music-on-windows/ -
Make Great Music with Windows on Arm by Pete Brown.
#windowsdev #winrt #midi #windows #arm64
https://devblogs.microsoft.com/windows-music-dev/making-music-on-windows/ -
Create a Windows Hello login app with WinUI.
#windowsdev #winrt #winui #dotnet #csharp #xaml #windows #windowshello
https://learn.microsoft.com/en-us/windows/apps/develop/security/windows-hello-login -
Create a Windows Hello login app with WinUI.
#windowsdev #winrt #winui #dotnet #csharp #xaml #windows #windowshello
https://learn.microsoft.com/en-us/windows/apps/develop/security/windows-hello-login -
You can query the clipboard history yourself with WinRT APIs, including Clipboard.GetHistoryItemsAsync().
https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.clipboard.gethistoryitemsasync
#windowsdev #windows #winrt https://mastodon.social/@techhelpkb/112055902849583197 -
You can query the clipboard history yourself with WinRT APIs, including Clipboard.GetHistoryItemsAsync().
https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.datatransfer.clipboard.gethistoryitemsasync
#windowsdev #windows #winrt https://mastodon.social/@techhelpkb/112055902849583197 -
Ever wanted to use the shiny modern #WinRT Print Dialog from within your proven #Wpf Application?
Well ... now you can!
https://github.com/Diahon/Diahon.WinUI.Printing -
Windows MIDI Services documentation by Pete Brown.
#windowsdev #midi #windows #docs #winrt
https://microsoft.github.io/MIDI/ -
Windows MIDI Services documentation by Pete Brown.
#windowsdev #midi #windows #docs #winrt
https://microsoft.github.io/MIDI/ -
#swift bindings for #Windows app development
-
#swift bindings for #Windows app development
-
Well! I have to say, kudos to the #winrt projection team from microsoft and #dotnet using the winrt api from both #fsharp and #rust is nearly the same
In this case I'm just using theWindows.Security.Cryptography.DataProtectionnamespace to read a file using the winrt api (I could use bcl/std apis I know) convert it into a stream, use the DataProtection apis to encrypt the file, the encrypted file gets saved as a new file (so I can see it rather than just do it to the same file) and then decrypt that file into a new one which technically is just a copy of the first one but after encryption/decryption :) -
Trying out #WinRT APIs for hours just to find out they're only supported in Windows IoT version is my passion 🤪.
-
Do you think using #fsharp is somewhat niche?
Well... I got you a real niche!
Recording with your camera using #WinRT APIs with
@[email protected]
as your window handle provider from F# 😅
I should technically be able to use MAUI or other windows desktop solution (WPF or WinForms) but I figured that If Avalonia (which works wonders with F#) could give me a window handle that's all I needed.
So yeah... any time you feel you think desktop and servers with F# is niche, remember there's a dude trying out WinRT APIs with F# and a cross-platform framework
If you ask me "Why not MAUI"? I'd answer:
I don't know, does it even support F#?
Feel free to poke me with a sample with it I'll happily try it out :)