Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
98 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,214
1 vote
0 answers
44 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
37 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
139 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
63 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
  • 409
0 votes
0 answers
47 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
57 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
92 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
40 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
46 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
17 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,372
0 votes
1 answer
90 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
0 answers
47 views

I want to get an SMTC object in Python, and I want to display the caller's information correctly. First, I tried to use SystemMediaTransportControls.get_for_current_view() to get the SMTC object, but ...
hite404's user avatar
  • 35
0 votes
1 answer
68 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
71 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
41 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
75 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
  • 103
0 votes
0 answers
45 views

I'm creating a integration of the IDataTransferManager for Delphi and my goal is to be able to share files with this class. What needs to be accomplished In essence, In order to send files to share ...
Codrut's user avatar
  • 362
1 vote
0 answers
68 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
0 votes
0 answers
30 views

I am trying to replace VC2010 default runtime calloc with my own implementation of calloc I tried this code but my program still uses the default VC2010 calloc void* calloc(size_t num, size_t size) { /...
photonepoch421's user avatar
1 vote
0 answers
64 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
555 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
279 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,972
0 votes
0 answers
89 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
67 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
0 answers
90 views

I'm getting the following error when trying to create a screen capture session. I'm using winrt::init_apartment() and co_await, but it’s still failing. GraphicsCapture.dll!00007FFA84F4FD63: ReturnHr(1)...
extravi's user avatar
0 votes
1 answer
78 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
1 vote
0 answers
320 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
499 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
208 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
  • 362
1 vote
2 answers
298 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
0 votes
0 answers
142 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
394 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
495 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,311
0 votes
1 answer
423 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
216 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,372
0 votes
0 answers
107 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,994
0 votes
0 answers
103 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
263 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
233 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
89 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,132
1 vote
1 answer
291 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
  • 362
-1 votes
1 answer
227 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
149 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
471 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
129 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
182 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
172 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
64 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
944 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

1
2 3 4 5
175