How to author a C++ WinUI 3 component #3013
Replies: 2 comments 7 replies
-
The basics are those already written for authoring UWP components since they use the same techniques. The Author APIs with C++/WinRT documentation is a good place to start. If for some reason you don't want to use C++/WinRT. Authoring components with WRL is possible, but it is rather annoying. |
Beta Was this translation helpful? Give feedback.
-
I've tried using the C++ WinUI 3 Runtime component in the past, but it always compiles errors after I modify some code, and I need to rebuild the project to run it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking to author a C++ WinUI 3 component that can be shared by multiple applications. Is there a guide on how to achieve this?
There's a sample for a C# component, consumed by a C++ app, but I want to use C++ end-to-end.
https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/CustomControls
https://docs.microsoft.com/windows/apps/develop/platform/csharp-winrt/create-winrt-component-winui-cswinrt
Beta Was this translation helpful? Give feedback.
All reactions