Skip to main content

Questions tagged [windows-runtime]

Windows Runtime (WinRT) is a Microsoft platform architecture that allows applications to run in a sandboxed environment exposing a 'Windows Modern Style' UI/UX. Not to be confused with Windows RT, the edition of Windows 8 for ARM devices; see windows-rt.

0 votes
1 answer
56 views

WinUI 3 Application Fails to Run Due to System.ArgumentException in InitializeComponent

I have a winui3 project, and when I run it, it stops and show this Call stack : App1.dll!App1.App.InitializeComponent.AnonymousMethod__4_2(object sender, Microsoft.UI.Xaml.UnhandledExceptionEventArgs ...
tribeti's user avatar
0 votes
1 answer
15 views

How to do voice echo cancellation?

I am recording user speech using Windows.Media.Audio.AudioDeviceInputNode. The app uses TTS to speak response through speakers. The issue is that the response is captured on microphone and is treated ...
LOST's user avatar
  • 3,145
0 votes
0 answers
56 views

C++/WinRT RequestAsync memory leak

I'm trying to figure out the cause of a memory leak in the following program. Running it causes memory usage to increase from 2MB -> 5MB (as reported by Visual Studio diagnostic tools) in about ...
Descolada's user avatar
-2 votes
0 answers
20 views

Is it possible to Use QT-C++ in UWP Application written in C#?

I want to write some common UI Component for Desktop(Windows,Mac),Mobile(Android,Ios),ARM using QT C++ and I want to integrate that QT component to my UWP application written in C# ? Is it possible ?
PremKumar Shanmugam's user avatar
0 votes
0 answers
24 views

Instantiating SqliteConnection throws exception when targetting Windows OS

I'm having an issue using Microsoft.Data.Sqlite in a .NET console app that targets Windows OS. .NET 8 Console App Targeting Windows OS v10.0.19041.0 Microsoft.Data.Sqlite 8.06 The following code ...
Dan Ling's user avatar
  • 2,965
-1 votes
0 answers
43 views

What is reentrancy in the context of WinUI 3/WinRT/C# and how do I find reentrant code?

I'm struggling to understand how to solve reentrancy errors in the context of WinUI 3/WinRT/C#. Apparently, using lock statements do not help to solve reentrancy errors. My Questions What is ...
Tommi Gustafsson's user avatar
0 votes
0 answers
48 views

What is the URI deeplink to Xbox Library's "Manage Updates" screen in UWP? ex: 'library://path/to/manage/updates'

In my uwp app (xbox, webview2, react) I can deep link to (open) the Xbox's Library app using the library:// Protocol URI (found here) like this: await Windows.System.Launcher.LaunchUriAsync(new Uri(&...
Tyler Grow's user avatar
0 votes
1 answer
52 views

How to Resolve "The type or namespace name 'Windows' could not be found" Error in Unity for UWP/HoloLens Development?

Background: I am developing an application for HoloLens 2 using Unity 2022.3.30f1, and I need to use the `Windows. Media` API to capture depth and image data from the HoloLens Research Mode. My ...
Dhananjay Jagdish Dubey's user avatar
0 votes
1 answer
78 views

.NET MAUI Windows 9.0 Preview 5 on Windows/WinUI 3 crashes when using SwapChainPanel via SkiaSharp after a while

The Problem We are using .NET MAUI 9.0 Preview 5, .NET SDK 9.0 Preview 5, and SkiaSharp 3.0 Preview 3.1 in our game, GnollHack. SKGLView of SkiaSharp uses SwapChainPanel to render GPU accelerated ...
Tommi Gustafsson's user avatar
1 vote
0 answers
35 views

Windows AudioGraph not consuming AudioFrames when there is no physical device in the graph

I am using the Windows AudioGraph APIs to generate, and conditionally mix with an input device, app generated audio and write it to an output file. The graph is an AudioFrameInputNode and zero or more ...
rcbevans's user avatar
  • 8,524
1 vote
1 answer
109 views

How to receive Activated and Dismissed messages for Windows Toast notifications

I'm making a library for Delphi to implement Windows 11 toast notifications easier using the interfaces from Winapi.UI.Notifications. I want to to post custom notifications to the action center using ...
Codrut's user avatar
  • 348
0 votes
0 answers
47 views

Is there a 'dismiss' event for windows 10 toast notifications?

In my windows c# program i'm using a ToastContentBuilder to build a toast and show it. The event OnActivated is used to detect the interactions of the toast. So far, I have not seen an event listener ...
Ash's user avatar
  • 141
-1 votes
1 answer
63 views

Issue while using .NET Standard 2.0 library that uses Store API in WPF .NET Core 8.0 type of project

Hi fellow MSFT developers, I have created a sample project for your convenience, available at https://github.com/JiyaDesai-FandCo/WpfAppdotnet8 We have existing code in Library (of type .NET Standard ...
Team Freytag's user avatar
1 vote
1 answer
87 views

Rotating image captured from Webcam in WinUI3

I'm trying to capture images from a Webcam in a WinUI3 app. After some trial and error, I finally managed to do so via MediaFrameReader. Now I've got the captured images as SoftwareBitmap and as I'd ...
Tobias's user avatar
  • 15
0 votes
0 answers
26 views

How to generate documentation to WinRT components generated through an .idl?

I am generating a WinRT component through an .idl file (MIDL 3.0), and more precisely I am using windows-rs. I would like documentation to be generated for the component. I've tried the naive approach ...
Ricola's user avatar
  • 2,844

15 30 50 per page
1
2 3 4 5
582