Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Using the C++/WinRT APIs for Microsoft Store apps (Windows.Store.Services), what is the flow for in-app purchases that require parental authorisation, and how do I test this? Flow: User attempts ...
Paul Masri-Stone's user avatar
1 vote
1 answer
61 views

I have to modify an existing Control using the Loaded event from a static member function that has to: Not storing the revoker into some class member because the code is inside a static function. ...
sz ppeter's user avatar
  • 1,972
0 votes
0 answers
78 views

I followed this tutorial https://learn.microsoft.com/en-us/windows/apps/develop/platform/csharp-winrt/create-winrt-component-winui-cswinrt and I would like to do the same thing but from a Win32 ...
Iordan Bogdan's user avatar
1 vote
1 answer
63 views

I'm creating a C++ WinRT runtime component using Visual Studio 2022. I want to use functions like PeekMessage() to handle a basic message loop. However, I get the following errors: error C3861: '...
kinton's user avatar
  • 409
0 votes
0 answers
140 views

I was trying the sample code from here While trying to execute cpp-console-unpackaged sample of Push Notification, I am facing error: Unhandled exception at 0x00007FFE067101DC in ConsoleApplication2....
Shivam Mishra's user avatar
0 votes
0 answers
37 views

I actually struggle to find a way to make a Image clickable or generate a Image Button in XAMl. There is even no Documentation on how to generate a Simple Image Button. Tried to find Image Button. ...
eschmo's user avatar
  • 1
0 votes
0 answers
61 views

In my UWP project I am using CoreDispatcher.ProcessEvents function like mentioned in https://github.com/microsoft/Windows-universal-samples/blob/main/Samples/LowLatencyInput/ I want to convert it for ...
deba's user avatar
  • 97
0 votes
0 answers
116 views

I have created a small C++ WinRT/WinUI-3 project to isolate the errors I've been experiencing. I start with a Blank App, Packaged (WinUI 3 in Desktop) using VS2022 V17.13.6 solution. Then I strip out ...
Peter Vermilye's user avatar
0 votes
1 answer
84 views

I tried this with String (hstring) combo items and everything worked fine. Now I try to use structure and... trying to fill ComboBox and select one of them. ComboBox is filled ok, but no item is ...
CyberDemon's user avatar
0 votes
1 answer
39 views

In Visual Studio 2022, there is a C++ Windows Runtime Component Project. I can use this, I suppose, to generate a skeleton given a Windows MIDL file. Then I go in and fill in the skeleton with my ...
TJ Bandrowsky's user avatar
0 votes
0 answers
314 views

I need to package a UWP app written with C++WinRT and a full trust win32 exe. I found no documentation about how to do this. The UWP C++WinRT project template only provides self-packaging with msix. ...
sz ppeter's user avatar
  • 1,972
0 votes
1 answer
39 views

I'd like to use Intel's Math Kernel Library (MKL) to do some calculations. I've figured this out for MFC programs, but I'm having trouble with C++/WinRT & WinUI 3 programs. For a repro, I took ...
dr_eck's user avatar
  • 215
0 votes
1 answer
74 views

I am using WinUI3 on C++ windows app. And I have to pass TextGetOptions to TextDocument().GetText() according to the document and visual studio intellisense. void MainWindow::TextPreviewKeyDown(...
Eric Nien's user avatar
1 vote
1 answer
83 views

In C++, I want to load a image, and render it to a win32 window using winrt compositing. I'm just trying to build a simple test bed for my other app to test 2dtexture compositing. I've tried many ...
user19250735's user avatar
0 votes
1 answer
111 views

I'm migrating from UWP to WinUI3 and I'm trying to capture a screenshot of certain element in Xaml. auto vis = ElementCompositionPreview::GetElementVisual(m_elementToCapture); m_item = ...
Fange Tafe's user avatar
0 votes
1 answer
64 views

I'm trying to create a winrt custom audio effect using this tutorial. #include "MyAudioEffect.g.h" auto effectName = winrt::name_of<winrt::MRE_ClassNotRegistered::MyAudioEffect>(); ...
Tom Huntington's user avatar
-1 votes
1 answer
384 views

I'm currently facing an issue where i am unable to create a C#/WinRT component that returns any complex types acceptable by WinRT, like IAsyncOperation<>., IAsyncAction or IList<>. I have ...
Vanilson Nogueira's user avatar
0 votes
0 answers
210 views

I want the window to have a frosted glass effect, so I use windowsAppSdk in my win32 program. but when running into this code: #include <Windows.h> #include <MddBootstrap.h> #include <...
feng lei's user avatar
1 vote
1 answer
479 views

At the moment, I have created a test project using a project template from Visual Studio Unit Test App (Winui 3) and my code looks like this namespace TestMyWinrtApp { TEST_CLASS(CppUnitTests) ...
Joe J's user avatar
  • 1,349
0 votes
2 answers
461 views

This is a follow-on question to Guarang Dave's question. With @Simon_Mourier's help, he figured it out, but I still haven't. I'm trying to do what ought to be a simple task: open a FileOpenPicker ...
dr_eck's user avatar
  • 215
0 votes
0 answers
185 views

1.Start the app after turning off the transparency effect in Windows 11 settings. After launching the app and then turning on the transparency effect from Windows settings, Acrylic will not work ...
Jzhang's user avatar
  • 17
0 votes
1 answer
197 views

In the following python code I get the currently playing media / music from windows. To display it on a electron app i would prefer to get the data using Node.js (or Rust for Tauri): import asyncio ...
Résu's user avatar
  • 45
0 votes
1 answer
145 views

https://learn.microsoft.com/en-us/uwp/api/windows.data.json.ijsonvalue.getobject?view=winrt-22621 #include <winrt/Windows.Data.Json.h> #define WIN32_LEAN_AND_MEAN #define NOMINMAX #include <...
Tom Huntington's user avatar
0 votes
0 answers
204 views

I am attempting to utilize the C++/WinRT code provided in the sample of LampArray, cppwinrt to create a C++ DLL. However due to the tight coupling of this sample with the UI, I am not able to use ...
sunil's user avatar
  • 19
1 vote
0 answers
172 views

I want to use C++ as part of WinUI3. I'm facing an issue where the C# component displays properly, but the C++ component doesn't. Result Therefore, I followed a Microsoft article to implement a C++/...
Shimpei Hirakida's user avatar

1
2 3 4 5
16