894 questions with Windows development | Windows App SDK tags

Sort by: Updated
0 answers

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
asked 2025-07-04T12:13:24.4633333+00:00
Arvind Kumar 20 Reputation points
commented 2025-07-04T15:41:22.5733333+00:00
Darran Rowe 1,991 Reputation points
0 answers

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
asked 2025-07-03T23:01:38.9333333+00:00
mjeschke 40 Reputation points
edited the question 2025-07-03T23:02:23.0766667+00:00
mjeschke 40 Reputation points
0 answers

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
asked 2025-07-03T13:55:50.8533333+00:00
Zahid Hasan 0 Reputation points
edited the question 2025-07-03T14:03:38.4733333+00:00
Zahid Hasan 0 Reputation points
0 answers

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
asked 2025-07-02T16:51:00.5966667+00:00
Vatsala Shanubhag 0 Reputation points
0 answers

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
asked 2025-06-30T06:11:07.7733333+00:00
Harshithraj1871 1,686 Reputation points
1 answer

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
asked 2025-06-29T02:44:01.6866667+00:00
mc 5,491 Reputation points
answered 2025-06-29T13:50:26.9666667+00:00
Castorix31 90,686 Reputation points
0 answers

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
asked 2025-06-28T14:06:50.8733333+00:00
Jonathan 0 Reputation points
1 answer

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
asked 2022-08-16T14:57:11.983+00:00
Sachi 221 Reputation points
commented 2025-06-27T04:09:53.53+00:00
Yunling YL2 An 0 Reputation points
0 answers

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
asked 2025-06-23T13:44:35.66+00:00
Harshithraj1871 1,686 Reputation points
commented 2025-06-25T15:35:16.2533333+00:00
Darran Rowe 1,991 Reputation points
1 answer

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
asked 2022-04-24T23:45:13.197+00:00
Tony 96 Reputation points
edited a comment 2025-06-19T01:21:32.9233333+00:00
Player Plays 0 Reputation points
0 answers

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
asked 2025-06-12T14:30:06.6633333+00:00
Jed 0 Reputation points
commented 2025-06-13T14:05:12.54+00:00
Jed 0 Reputation points
0 answers

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
asked 2022-06-26T10:09:34.423+00:00
youki 1,021 Reputation points
commented 2025-05-22T02:37:50.23+00:00
Darran Rowe 1,991 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-05-16T08:40:08.5433333+00:00
Md. Niaz Mahmud 171 Reputation points
commented 2025-05-20T14:59:54.1+00:00
Darran Rowe 1,991 Reputation points
0 answers

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
asked 2025-05-18T13:51:59.7233333+00:00
Microlead Software 76 Reputation points
edited the question 2025-05-20T06:14:22.7333333+00:00
Shireesha Eeraboina 3,435 Reputation points Microsoft External Staff Moderator
0 answers

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
asked 2025-05-16T22:13:29.3566667+00:00
David McClanahan 1 Reputation point
edited a comment 2025-05-20T00:31:24.54+00:00
David McClanahan 1 Reputation point
0 answers

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
asked 2025-05-19T18:29:19.32+00:00
Evgeny Vasilenko 0 Reputation points
0 answers

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
asked 2025-05-18T02:25:54.0266667+00:00
Hong 1,246 Reputation points
0 answers

.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
asked 2025-05-17T14:41:30.28+00:00
usdsourov100 0 Reputation points
1 answer

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
asked 2022-01-07T22:35:15.107+00:00
C S 1 Reputation point
commented 2025-05-16T19:47:38.6766667+00:00
Mr. Beedell, Roke Julian Lockhart 6 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows development | Windows App SDK
asked 2025-05-15T09:33:22.4666667+00:00
Md. Niaz Mahmud 171 Reputation points
commented 2025-05-16T06:46:48.8633333+00:00
Md. Niaz Mahmud 171 Reputation points