C#C
C#16mo ago
Gipper

How can I use wpf with c++?

Someone got some harebrained idea to develop a c++ application with a GUI, so I thought of how WPF allows you to develop in C++ (which it then translates into C#, if memory serves me right). I found this documentation page: https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/wpf-and-win32-interoperation?view=netframeworkdesktop-4.8

Which presents several ways to connect a C++ application to WPF in the section called "WPF Interoperation Projects", I would like a recommendation on which is the simplest, considering that this will be a simple app and I don't have experience coding C++ for a WPF application. And also some help on how to implement it (later, not now).
Learn how to interoperate Windows Presentation Foundation's environment for creating applications and Win32 code.
Was this page helpful?