2,971 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
0 answers

System.Exception: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E)

public Dictionary<Guid, MyClass> _dictMyClass; ... if (_dictMyClass.ContainsKey(gID)) { MyClass myClass = _dictMyClass[gID]; } Occasionally and rarely), the above line throws the following exception: System.Exception: The application called an…

Universal Windows Platform (UWP)
asked 2024-11-06T22:50:46.4466667+00:00
Hong 1,211 Reputation points
commented 2024-11-08T22:49:51.29+00:00
Hong 1,211 Reputation points
0 answers

Universal Print

Hi, How to assign access to setup Univeral printing

Universal Windows Platform (UWP)
asked 2024-11-08T20:12:28.62+00:00
Mike Macellaio 0 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2021-01-28T04:44:42.07+00:00
buskysnow 6 Reputation points
commented 2024-11-08T18:01:50.7166667+00:00
Jérôme S 0 Reputation points
1 answer

Windows.Media.SpeechRecognition

In a .NET project, you can't create a Windows.Media.SpeechRecognition object in administrator mode

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,496 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
Universal Windows Platform (UWP)
asked 2024-10-23T03:28:47.9533333+00:00
jj T 0 Reputation points
commented 2024-11-08T14:54:04.7033333+00:00
jj T 0 Reputation points
1 answer

Microsoft Store In-App Purchase Issue: Add-On Products Keep Loading and Show "PEX-CatalogAvailabilityDataNotFound" Error

I'm experiencing an issue with in-app purchases (IAP) in my Unity game published on the Microsoft Store. I have created multiple store-managed consumable add-ons (e.g., "speed_x1", "speed_x3") and have set up their respective product…

Universal Windows Platform (UWP)
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
1,005 questions
asked 2024-10-31T14:35:41.2666667+00:00
MecanzLuna 0 Reputation points
commented 2024-11-08T08:56:18.83+00:00
MecanzLuna 0 Reputation points
1 answer

Does uwp app service has access control?

I implement a uwp app service in my application and I don't want this app service being exposed to all user processes, which may causes privacy issue. So I want to know if there is any method to control the scope of processes that can connnect to my app…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,716 questions
Universal Windows Platform (UWP)
asked 2024-11-07T06:14:32.6666667+00:00
Jayden Xia 0 Reputation points
edited a comment 2024-11-08T06:39:16.59+00:00
Junjie Zhu - MSFT 18,486 Reputation points Microsoft Vendor
1 answer

Implementing app purchase with subscription add-on

i implemented app purchase in UWP firstly create add-on in Microsoft partner now status of add-on is (in the Microsoft store). After that write all the code as mention in "…

Universal Windows Platform (UWP)
asked 2024-11-07T06:30:46.9133333+00:00
Deepak Patel 40 Reputation points
commented 2024-11-08T03:31:55.21+00:00
Junjie Zhu - MSFT 18,486 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-10-24T18:12:07.4733333+00:00
Amelia Ivanova 0 Reputation points
commented 2024-11-06T07:42:11.3433333+00:00
Junjie Zhu - MSFT 18,486 Reputation points Microsoft Vendor
1 answer

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…

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
asked 2024-10-01T20:26:45.3933333+00:00
Garrett Tiller 6 Reputation points
commented 2024-11-06T06:57:23.2966667+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
3 answers

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…

Universal Windows Platform (UWP)
asked 2024-10-15T10:24:46.31+00:00
DotNET Fan 211 Reputation points
commented 2024-11-06T06:56:10.8833333+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
asked 2024-10-23T14:59:05.72+00:00
BitSmithy 2,141 Reputation points
accepted 2024-11-04T08:38:00.97+00:00
BitSmithy 2,141 Reputation points
1 answer

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.

Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
400 questions
asked 2024-10-29T13:31:49.65+00:00
琛博 程 0 Reputation points
answered 2024-10-31T05:58:03.5233333+00:00
Ying Li - MSFT 1,200 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-10-29T21:01:07.09+00:00
Walter Humfeld 0 Reputation points
commented 2024-10-31T01:13:11.9433333+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer

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.

Universal Windows Platform (UWP)
asked 2024-10-11T06:53:51.3866667+00:00
Deepak Patel 40 Reputation points
commented 2024-10-30T01:54:28.0366667+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
asked 2024-10-29T06:12:12.1666667+00:00
Jay 140 Reputation points
accepted 2024-10-29T07:47:54.44+00:00
Jay 140 Reputation points
1 answer

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…

Universal Windows Platform (UWP)
asked 2021-10-12T08:29:59.903+00:00
vaishali sharma 21 Reputation points
commented 2024-10-28T09:37:13.14+00:00
Mostafizur Rahman 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,011 questions
asked 2024-10-02T13:02:10.9666667+00:00
Jay 140 Reputation points
edited the question 2024-10-28T02:08:28.99+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,761 questions
asked 2024-10-17T22:10:58.84+00:00
60856927 66 Reputation points
edited the question 2024-10-28T02:07:20.0233333+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2024-10-22T08:51:41.98+00:00
Abdurrahman Türkeri 0 Reputation points
edited the question 2024-10-22T15:04:36.86+00:00
Grmacjon-MSFT 18,451 Reputation points
1 answer One of the answers was accepted by the question author.

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: …

Universal Windows Platform (UWP)
asked 2024-10-18T10:01:05.1233333+00:00
BitSmithy 2,141 Reputation points
accepted 2024-10-22T14:45:29.5933333+00:00
BitSmithy 2,141 Reputation points