cppwinrt Questions
1
Solved
I am writing a C++ coroutine for a UWP control using C++/WinRT:
winrt::fire_and_forget MyControl::DoSomething()
{
if (/* some condition */)
{
// Why does this work?!
return;
}
co_await winrt...
Choriocarcinoma asked 20/1, 2022 at 19:57
2
How do I open a new window in WinRT / WinUI3? I want to click a button and open up another floating window on top of the current / main window.
I have tried code from several samples with zero luck...
Denaturalize asked 18/9, 2021 at 5:17
1
Solved
C++/WinRT provides 3 flavors of smart pointers to use for COM objects - Microsoft::WRL::ComPtr, com_ptr, and ATL-based CComPtr.
In my case, it is a COM-lite object, meaning it is NOT an in-pr...
Aerophobia asked 2/9, 2020 at 6:0
1
© 2022 - 2024 — McMap. All rights reserved.