UWP pipe client and C++ Fulltrustprocess pipe server - Access to the path is denied
Hello UWP experts, I get "Access to the path is denied" when connecting a UWP namedpipeclient to C++ Fulltrust process namedpipe server in packaged (WAPP) and non packaged mode. Its a simple piece of code to see how the namedpipe works betweek…
Windows.Data.Pdf.PdfDocument Crash with file size greater than 2GB
Same issue as here (no replies there, it's an old thread) https://learn.microsoft.com/en-us/answers/questions/248422/windows-data-pdf-pdfdocument-crash My notes: Crash is not catchable which makes it really hard to find reason for issue or…
Can we create and destroy winrt::IObservableVector on different threads?
Hello, I’m working on a multi-threaded WinRT/C++ application and need some clarification on how thread safety works when using winrt::IObservableVector across threads. Specifically, if I create a IObservableVector on one thread (Thread 1) and pass its…
How do I localize the AppDescription of Desktop Bridge apps?
I have a UWP application. The project contains the following files: de-DE\Resources.resw en-US\Resources.resw Each file contains a text with the key AppDescription. en-US is set as the default language in Package.appxmanifest. When submitting to the…
MediaClip.CreateFromFileAsync() throws System.ArgumentException
MediaClip videoClip = await MediaClip.CreateFromFileAsync(storageFileVideo); The above code occasionally throws the following exception: System.ArgumentException at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at…
How to make sandbox account for testing to purchase app in Microsoft partner center?
"I want to create a sandbox account in Partner Center. How can I do that? I want to test in-app purchases. Could you please guide me?"
Remote Procedure Call Failed (HRESULT: 0x800706BE)
The application uses diagnostic APIs to prevent it from starting repeatedly. However, it crashes on startup, and the following exception information is logged: Remote procedure call failed. (Exception from HRESULT: 0x800706BE) at…
WNS(Raw Notification) fail after PC restart and cannot accept message push notifications
Hello, I have found that the message push service(WNS) cannot be used after restarting the computer. After restarting, the PushNotifications LongRunningTask.exe process was not running, so it did not receive a message and subsequent pushes were dropped.…
Can we create and destroy winrt::hstring on different threads?
Hello, I’m working on a multi-threaded WinRT/C++ application and need some clarification on how thread safety works when using winrt::hstring across threads. Specifically, if I create a winrt::hstring on one thread (Thread 1) and pass its ABI pointer to…
How to access camera preview frames with MediaCapture class in Unity?
Using the Windows MediaCapture class we can capture videos and images on the HoloLens 2. The class also offers preview capabilities (see here). However, I am not sure how to get the preview stream within Unity and then display it to the user. In the docs…
Understanding the lifecycle of winrt::hstring with ABI handling
Hello, I'm trying to understand the lifecycle of winrt::hstring when working with the ABI and managing reference counts. Specifically, I want to store an winrt::hstring in a void* pointer, and to do so, I'm using the copy_to_abi API. This increases the…
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…
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.
Does WinUI3 App support Miracast feature now?
Hi Microsoft team, I developed a UWP app to implement the screen mirror function with the Windows.Media.Miracast APIs. Now I want to migrate UWP to the WinUI 3 App(Windows App SDK), so I research how to migrate Miracast and find that WinUI 3 App didn't…
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…
Handling of UWP child window closing behavior
Hello UWP experts , I create the child windows from the main app using the below code. The requirement is at the start dont allow the user to close of window and allow only after 10 to 20 seconds. I couldn't find any pre close event for the child…
Multiple Instances of App
Hi UWP experts, So i have enabled multiple instances of my app through the package manifest desktop4:SupportsMultipleInstances="true" and it works perfectly fine when the app is selected from the windows start menu and opens up multiple…
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…
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 "…
GetAssociatedStoreProductsAsync always returns error in a Game!
Hi, I have several APPS in the store and get the addons info using the GetAssociatedStoreProductsAsync() method. It returns the addons that are available for purchase from my app. Recently I created a GAME. and when I use the same method to…