How to implement a full-screen button that honors light and dark modes
Hello, I want to implement a Full-Screen button. I found in net any solutions, but they doesnt honors Dark Mode. The button must be placed on app upper belt near minimize/maximize/close window buttons. Could anyone tell how to implement full-screen…
VS2022 Error When Deploying HoloLens 2 Application: GameAssembly.lib Not Found
I encountered an error while deploying a HoloLens 2 application using VS2022: GameAssembly.lib not found. I noticed that the file does not exist in the Build folder and I'm not sure why it wasn't generated. I am deploying via Wi-Fi.
UWP App: Error in WACK - Unable to fetch list of approved APIs
I've written a UWP app in C#.NET. I've tested it, and want to publish it to the App Store, so I need to run the Windows App Certification Kit (WACK) on it. Most of the tests pass, but the Supported API test fails consistently, always saying: "The…
Windows.Media.SpeechRecognition
In a .NET project, you can't create a Windows.Media.SpeechRecognition object in administrator mode
Handling Appservice connections in a multiple instance of fulltrust process
Hello UWP experts, Please look at the below thread . This question is related to the thread. https://learn.microsoft.com/en-us/answers/questions/2087088/uwp-app-communication-with-another-process-(*-exe)?comment=question#newest-question-comment UWP app…
Rating popup take more time to open
in my app , i give an option for rating my app so on there i just navigate to microsoft store rating popup but it take more time to open.. if you have any trick as i can open fast. so please provide me. Thanks.
How come I keep geting the errors when I use the simple shooter sample?
Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to the…
Deeplinking in UWP app
I have checked and found that deep linking is possible in a UWP app using the steps below: #1 We need to create a protocol on the app side and add a protocol name, such as 'testdeeplink,' as a unique keyword. #2 When I call testdeeplink://upgradeplan, it…
Get Hwnd of swapchainpanel in UWP Application
I have a UWP App that uses a C++ API to render videos. The C++ API takes IntPtr of panel where we need to render the video as input. In Winforms, I can directly pass a panel's Handle where the video will be rendered. How can I do the same in UWP. I am…
Attachment not attached in Outlook mail system in C# UWP
Hi, I am trying to attach a file in the Outlook mail system using C# UWP, but it's not working. It works fine in the old Mail app. Could you please help? Code: EmailMessage emailMessage = new EmailMessage(); StorageFile attachmentFile = await…
Registry returns wrong value by UWP full trust process
In my UWP app I have a full trust WinForm process that provides system tray icon and full trust functionality such as working with Registry and File System. I noticed that the full trust process gets wrong Registry HKCU values - not the values I see in…
Windows.Data.Pdf.PdfDocument Crash
when i use Windows.Data.Pdf.PdfDocument to load a pdf file which sizes more than 2 GB, it crashed immediately. No matter what you use LoadFromStreamAsync or LoadFromFileAsync, it just crashed with no information. i can't catch this crash with try…
Inquiry about Canceling Non-Consumable IAP UWP
As I understand, UWP lacks a sandbox mode for testing payments, and the only way to conduct tests is by setting the product price as free. We are facing an issue with testing Non-Consumable purchases, which are bought once and permanently linked to the…
target version error while installing nuget package to uwp solution
I'm trying to add WindowsAzure.Messaging.Managed package to my uwp solution and I receive error Severity Code Description Project File Line Suppression State Details Error Could not install package 'WindowsAzure.Messaging.Managed 0.1.7.9'. You are trying…
How to change slider's thumb color
Hellow, I want to change slider's thumb color to red. I was traing to change slider templete on my own, but with my changess slider didint wont to move. So please tell me how to properly change slider's thumb color to RED. Below my slider: …
[UWP] Change Lottie Animation Color / Theme Dynamically
I have used lottie json animation in xaml uwp using "CommunityToolkit.WinUI.Lottie" and "AnimatedVisualPlayer". But for dark theme I can not see the lottie animation as the color is fixed. How can we dynamically change color of…
How winrt::hstring manages memory and reference count while copying?
Hello, I want to understand how winrt::hstring manages memory when we copy hstring to another hstring. TextBlock tb; hstring label_copy; { hstring label = L"Sample text"; // Address: 0xA0 (assume) label_copy =…
UWP app stays suspended after maximize
My UWP stays suspended even after user brings it to foreground. According to Microsoft docs it should resume from the suspension, but it doesn't. What can be the reason of such a weird behavior? https://imgur.com/a/knguaEV
Universal Windows Platform (UWP) API Call from C native console application - crash
Hi! Based on Microsoft Universal Samples (https://github.com/microsoft/Windows-universal-samples) I've created a static library(.lib) for geolocating on Windows 10/11. The library is linked into a Windows console application (.exe). I've tried with…
UWP App communication with another process (*.exe)
UWP Experts, We have a UWP app where we use a third party process (*.exe) and get the updates for file conversions. We call the process using .NET Process class and get the conversion updates and based on the process exit code it is decided that the…