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 Print
Hi, How to assign access to setup Univeral printing
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…
Windows.Media.SpeechRecognition
In a .NET project, you can't create a Windows.Media.SpeechRecognition object in administrator mode
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…
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…
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 "…
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…
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…
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…
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…
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.
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…
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: …