894 questions with Windows development | Windows App SDK tags
C++/WinRT language projection
Hi, I am trying to create language projection for my C++/WinRT component. I have a runtime class with Add method. I am able to successfully create the WinRT component. after that able to reference and create C# laguage projection for my C++/WinRT…
Windows development | Windows App SDK
C# bind custom form component to abstract data type
I have an abstract class that contains the status of a system. I need to bind that status held in an abstract class to a form. More specifically to a form component I designed. Is there a clear way to do this?E.g. the component I designed has a series of…
Windows development | Windows App SDK
How to fix Access violation exception thrown from inside winrt/base.h when trying to access CsWinRTComponent from c++/winrt WinUI3 project?
We are working on a large commercial project which used to run on UWP platform (using both c# and c++/CX). Currently, we are migrating to c++/Winrt WinUI3. For some specific reasons, we can't migrate all the modules of our app at one go. If we try to…
Windows development | Windows App SDK
How to extract digital signature from X.509 certificate using Windows CryptoAPI (C++)?
I'm writing a proof-of-concept in C++ on Windows to extract the digital signature (not the signature algorithm, but the actual BIT STRING of the signature) from an X.509 certificate. Is there a Windows CryptoAPI (Wincrypt.h) or other native Windows API…
Windows development | Windows App SDK
WinUI3 : How to build a tokenized text input
Hi, I'm building a desktop app using WinUI 3 in C++/WinRT (no XAML, code-only approach), and I'm trying to create a text input experience where users can type words, and once they hit space or Enter, that word turns into a token or…
Windows development | Windows App SDK
how to edit the dom in webview2 as webbrowser?
I am using webView2 and I want to edit the textBox and click a button I know in webbrowser in winform I can get the dom of it But maybe can not in webview2 right?
Windows development | Windows App SDK

My Taskbar badges don't work (BadgeUpdateManager)
hi everyone, I have migrated a old app to WinUI 3 app using Windows App SDK (latest version), one of the reasons was i wanted to use badge notifications (info on taskbar app icon). After weeks of work, my application is finally completed and it works…
Windows development | Windows App SDK
How to style Tabview with Tabviewitems and how to remove default Tooltip for TabViewitem? WinUI3
Hi I am creating Winui3Application with Tabview control having 3 tabviewitems like header1,Header2,Header and i want to change the selected tabviewItemhedader background color i did not find any particular style for Tabview control Any…
Windows development | Windows App SDK
Setting UIElement Properties in Bulk in WinUI 3
I'm developing a WinUI 3 desktop application using C++ (without XAML) and working with a multithreaded architecture. The idea is to gather and prepare all UI control properties (such as font, color, size, etc.) in a background (worker) thread and then…
Windows development | Windows App SDK
IMFCaptureSource::GetAvailableDeviceMediaType returns 0xC00D36B2 (The request is invalid in the current state. )
Why and/or what is the origin of this resultcode? I can't find anything that explains on docs what this result actually means and how to resolve this. Thank you.
Windows development | Windows App SDK
Windows development | Windows API - Win32
Error 0x80090027 when signing using Signtool /ds
Description When attempting to sign a file using the /ds command I am receiving the following error: Done Adding Additional Store SignTool Error: SignedCode::Sign returned error: 0x80090027 The parameter is incorrect. SignTool Error: An error occurred…
Windows development | Windows App SDK
XAML code autocomplete (Intellisense) is disabled/ greyed out and can't be enabled
Hard case here: After i installed a WinUI Preview version the WinUI Templates disappeared after weeks of installation (it's a known bug but i can't find the link anymore). Nothing helped but a reinstallation with previous removal of all VS…
Windows development | Windows App SDK
Developer technologies | Visual Studio | Debugging
Audio Graph Can not createFileOutputNode in WinUI 3 C++/Winrt Project,
I am migrating from UWP C# app to WinUI 3 C++/WinRT project regarding a Audio Recorder using Audio Graph. But after graph.createFileOutputNode(voiceFile, encodingProfile), Status returned is UnknownFailure. Similar code worked for UWP C# code I call…
Windows development | Windows App SDK
How to map the App PFN to its Azure AppId?
Hi, I follow the steps in the documentation especially Step 4 (Map your app's Package Family Name to its Azure AppId) but the email to Win_App_SDK_Push@microsoft.com always fails (undelivered). I need to map my app PFN to its Azure AppId. without this…
Windows development | Windows App SDK
How to read and set the Advanced Sharing Settings (All networks)
How to read and set the Advanced Sharing Settings (All networks) for windows 10 , 11 thanks
Windows development | Windows App SDK
Windows Performance Analyzer shows no data for NPU utilization
After recording Neural Processing Activity by WPR with latest ADK version, and open recording by WPA, i can see no data for NPU activity. Microsoft® Windows® Performance Analyzer 11.7.383.39833 Microsoft® Performance Toolkit SDK 1.2.2.5750 Event…
Windows development | Windows App SDK
GetThumbnailAsync() throws Class not registered (Exception from HRESULT: 0x80040154)
The following code of a UWP works fine usually: StorageItemThumbnail siThumbnail = await myStorageFileMedia.GetThumbnailAsync( ThumbnailMode.PicturesView, 300, ThumbnailOptions.UseCurrentScale); It…
Windows development | Windows App SDK
.exe file converter to html
I have This Software .exe file but I don't have source code. I want to Rebuild it
Windows development | Windows App SDK
Process terminates with Invalid_error in - NtWaitForWorkViaWorkerFactory
Hello, I am trying to debug windows application termination without any crash dump. Application is simply in a WaitForMultipleObjects, and is calling CreateProcess when it gets the event. windbg indicates no exception. Output of winDbg is below. Any…
Windows development | Windows App SDK
Windows for business | Windows Server | User experience | Other

Migrate to WinUI 3 C++/Winrt from UWP C# for Audio Recording (AudioGraph, FileInput/ Output Node)
I am converting a project in UWP for Audio Recording using Audio Graph, UWP sample link https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/audiocreation/ For achieving similar functionality in WinUI 3 in C++/Winrt I could not…