Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
78 views

I am working on an application that operates like OneDrive and uses the Cloud File API to show cloud hosted files in a folder on the user’s machine. I am trying to enhance my application by fetching ...
Travis R's user avatar
1 vote
0 answers
107 views

I'm trying to run the Microsoft Push Notifications sample taken from here client to explore this capability on a Windows app. My setup composed of Azure Notification server, remote app to trigger the ...
Zohar81's user avatar
  • 5,216
1 vote
0 answers
47 views

I am trying to create an event in Windows Runtime C# Component in this way, namespace SampleNamespace { public sealed class SampleClass { private static readonly Lazy<SampleClass>...
Sumnoon's user avatar
  • 145
1 vote
1 answer
44 views

I have an AudioGraph Audio*InputNode.AddOutgoingConnection(AudioDeviceOutputNode) User pauses audio leaves computer and Monitor eventually turns off, disconnecting the Sound Output Device User comes ...
Tom Huntington's user avatar
2 votes
2 answers
150 views

Is it OK to pass NULL as the first argument to WindowsDuplicateString? The documentation isn't clear here but calling WindowsCreateString(NULL, 0, &s) is allowed and my tests showed that it sets s ...
eyelash's user avatar
  • 4,126
1 vote
1 answer
69 views

I'm creating a C++ WinRT runtime component using Visual Studio 2022. I want to use functions like PeekMessage() to handle a basic message loop. However, I get the following errors: error C3861: '...
kinton's user avatar
  • 419
0 votes
0 answers
69 views

I'm using the winsdk Python package (WinRT bindings) to access media sessions via GlobalSystemMediaTransportControlsSessionManager. I can successfully get the list of active sessions and their ...
Super Zombi's user avatar
0 votes
0 answers
91 views

I'm building a WinRT CLI wrapper in C# that checks if a user owns an active Microsoft Store subscription add-on. This CLI is called from an Electron + React.js app using command-line arguments and ...
FeedFall8's user avatar
0 votes
0 answers
95 views

Achieved Goal: I am considering using PowerShell to monitor the input video from a USB camera device in real-time. Problem: Problem 1: When using the await class to wait for the return value (...
WorkshopLilla's user avatar
1 vote
0 answers
57 views

I'm using Windows.Globalization.DateTimeFormatting.DateTimeFormatter in a UWP app with the culture set to "en-US". I noticed inconsistent formatting between two similar patterns. Scenario: ...
HEMAPRIYA G's user avatar
0 votes
0 answers
53 views

ChatGPT told me: Your audio effect class IBasicAudioEffect needs to be in separate component because Windows may need to instantiate it in a separate process How can I callback to my main project ...
Tom Huntington's user avatar
1 vote
0 answers
20 views

I create my AudioGraph like this: var pcm16 = AudioEncodingProperties.CreatePcm((uint)sampleRate, 1, 16); var audioGraphSettings = new AudioGraphSettings(AudioRenderCategory.Speech) { ...
LOST's user avatar
  • 3,384
0 votes
1 answer
119 views

I have an audio only m3u8, which I want to play with AdaptiveMediaSource. tutorial. The problem (I believe) is that AdaptiveMediaSource is not recognizing it as AudioOnlyPlayback and thus errors when ...
Tom Huntington's user avatar
0 votes
1 answer
85 views

I'm writing a program that requires the information about the song name, author(s) and the current elapsed time of the song. Song name and authors I can get with Windows' API (WinRT, more specifically ...
Enderek's user avatar
  • 11
1 vote
1 answer
98 views

ref: ISystemMediaTransportControlsInterop I compiled a dll about ISystemMediaTransportControlsInterop::GetForWindow. I use IDA to decompile it. Then I wrote the C-like code as Python. I believe that I ...
hite404's user avatar
  • 35
0 votes
1 answer
43 views

In Visual Studio 2022, there is a C++ Windows Runtime Component Project. I can use this, I suppose, to generate a skeleton given a Windows MIDL file. Then I go in and fill in the skeleton with my ...
TJ Bandrowsky's user avatar
0 votes
0 answers
79 views

For the last few days I have been unsuccessfully trying to understand the behavior of Delphi and its component for working with BLE. I'm not sure the problem is related to bluetooth or winrt, maybe i'...
loltrol's user avatar
  • 123
1 vote
0 answers
78 views

I try WinRT in Delphi. The following code encounter access violation when invoke get_Thumbprint: program Sample; uses System.SysUtils, System.Classes, System.Win.WinRT, System.NetEncoding, ...
Chau Chee Yang's user avatar
1 vote
0 answers
70 views

In Windows 10 the following code works to launch an image in the Windows Photo App, and provides access to other images in the folder via the NeighboringFilesQuery launch option (meaning you can use ...
Jonathan Potter's user avatar
0 votes
2 answers
785 views

I am looking to use this api (DnssdServiceInstance to broadcast a mDNS service entry. I have the extremely simple test app in c# (blank console app created in Visual Studio): using Windows.Networking....
John Shull's user avatar
-3 votes
1 answer
318 views

I found out Windows security toast notification are not dismissible mutable, and it seems no other app are able to do so. How does it managed to do that? There is an old post about this question, but ...
sz ppeter's user avatar
  • 1,974
0 votes
0 answers
110 views

Issue how to print a xaml element How to access printer and print an xaml element. A page choose from navigation view. I am using winui-3 and c++20. Created a blank app The idea is only to print my ...
Tirsvad's user avatar
  • 186
1 vote
0 answers
75 views

Why does Windows only give me 32-bit float audio streams even though both my microphones only produce 16-bit audio? I've tried in WinRT/C# (AudioEncodingProperties) and also Media Foundation/C++ (...
davidjenkins's user avatar
0 votes
1 answer
92 views

I am using WinUI3 on C++ windows app. And I have to pass TextGetOptions to TextDocument().GetText() according to the document and visual studio intellisense. void MainWindow::TextPreviewKeyDown(...
Eric Nien's user avatar
2 votes
0 answers
441 views

I would like to know if I have a specific version of the Windows App SDK runtime installed. When I go to https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads, I see versions listed ...
David Airapetyan's user avatar
0 votes
1 answer
584 views

I am using WiX to create an installer for my wpf application (I am new to this). I need to detect and install the .Net core 6.0.0 and Windows Desktop runtime 6.0.33 using online setup. Shipping ...
Fatima Ali's user avatar
1 vote
1 answer
263 views

I'm developing a library for easy integration of a media player with the action center playback. For this I used the known windows runtime interfaces ISystemMediaTransportControls and ...
Codrut's user avatar
  • 382
1 vote
2 answers
399 views

I'd like to create a python script that sends me a windows toast notification and gives me two buttons, one to postpone, and one to start a backup (powershell script). I tried multiple libraries, like ...
crazywolf's user avatar
1 vote
0 answers
158 views

I am using the Cloud File Api to write a custom OneDrive-like sync client. I have a desire to have custom properties that are available in explorer. When I register my CFAPI SyncRoot during ...
Michael Foster's user avatar
-1 votes
1 answer
441 views

I'm currently facing an issue where i am unable to create a C#/WinRT component that returns any complex types acceptable by WinRT, like IAsyncOperation<>., IAsyncAction or IList<>. I have ...
Vanilson Nogueira's user avatar
3 votes
1 answer
594 views

I need to capture the image of a specific window and save it as an array. I initially used BitBlt, which worked well except for windows with hardware acceleration (it seems to work for DirectX-...
許恩嘉's user avatar
  • 1,313
0 votes
1 answer
487 views

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
243 views

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,384
0 votes
0 answers
140 views

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,992
0 votes
0 answers
126 views

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
289 views

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
1 vote
1 answer
239 views

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
101 views

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
  • 9,142
1 vote
1 answer
328 views

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
  • 382
-1 votes
1 answer
253 views

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
173 views

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
2 votes
0 answers
554 views

I am building a windows cloud sync engine application using cloud filter api. To start with the development, i am planned to register the Sync root using CfRegisterSyncRoot but the sample provided by ...
Vembu karthick's user avatar
0 votes
0 answers
163 views

I am working on a Windows Runtime <-> Rust integration through windows-rs. The interface between the two languages is defined trough an .idl (Midl 3.0) file. I am trying to declare a parameter ...
Ricola's user avatar
  • 2,981
0 votes
1 answer
207 views

I decided to modernize our product and replace the old printer code with WINRT printing. In order to send something to the printer you need to call printDoc.AddPage(printElement); https://learn....
ekalchev's user avatar
  • 981
1 vote
0 answers
185 views

I want to use C++ as part of WinUI3. I'm facing an issue where the C# component displays properly, but the C++ component doesn't. Result Therefore, I followed a Microsoft article to implement a C++/...
Shimpei Hirakida's user avatar
0 votes
1 answer
83 views

I followed Microsoft documentation and created working WinRT IBackgroundTask that runs on dotnet8. Now I want to integrate it with my app which is deployed as self-contained and it doesn't require ...
ekalchev's user avatar
  • 981
2 votes
1 answer
1k views

I would like to write a WPF application, but build it on modern frameworks as much as possible, including for example .NET 6 or maybe even higher. I have some C++ code that I want to call, and I like ...
marczellm's user avatar
  • 1,346
0 votes
1 answer
223 views

I'd like to display text at the bottom right corner of a Windows computer (the Task Bar is hidden). I'd like the text to be visible but no background. What is the correct Windows API to do this with? ...
SRobertJames's user avatar
  • 9,457
0 votes
0 answers
143 views

Adding a native C++ library to Windows runtime component (C++ Winrt) project throws error (LINK : fatal error LNK1104: cannot open file 'comsuppw.lib'). I have followed https://learn.microsoft.com/en-...
deltacoder's user avatar
1 vote
0 answers
147 views

I want to write a C++ program that will be compiled into a dll and be injected into a C++ uwp app. This program should patch bytes at certain address. For example We want to patch address 0x12345678 ...
Adrian8115's user avatar

1
2 3 4 5
175