In this post, we will see how to resolve Is it necessary to have a co_return statement on each execution path of a coroutine that returns void Question: I wonder whether the below code is valid C++ code or if ...

In this post, we will see how to resolve co_await a C++/WinRT event Question: I would like to co_await the file completed event from the WinRT AudioGraph API. Is this possible? It seams like a far superior way to program ...

Question: Is there an equivalent to JavaScript’s Promise.all in C++ or C++/WinRT for awaitables (or just Windows.Foundation.IAsyncAction)? For example, I am trying to gather multiple IAsyncActions and continue when all of them have completed. For now I’m starting each action ...

Question: I have an existing third-party static library that I want to use in my project C++WinRT UWP app. Can I do that? I have read the documentation. But it has me confused. Documentation talk about “Using a native C++ ...

Question: I want to know the proper way to convert from “Float” to “std::wstring”. Xaml file Cpp File That’s my piece of code throwing me that error: Answer: If you have better answer, please add a comment about this, thank ...

Question: QUESTION: My simple Windows notification application throws an exception with the error message “Access is denied.” How can I fix this? PREFACE: The structure in use is prescribed by the current implementation of and constraints placed on our application. ...

Question: With C++/WinRT the AudioGraphSettings can be easily initialized with its constructor: I’m having trouble to use it inside my WRL project. Below is my implementation The settings still null and I don’t know how to initialize it with the ...