I have a legacy application that exposes a C++ API to allow you to create plugins that extends its functionalities. In order to create a plugin, you need to create a DLL that implement API functions signatures.
The communication between the legacy app and the plugin is in both ways: the legacy app calls the plugin's DLL and the plugin uses callbacks passed as arguments during it´s initialization to call the legacy app.
To extend the plugin functionality, I need to create a GUI. That's where my questions comes.... The first choice would be using QT, but I´m really trying to avoid it because of my background(I don't like it) and also because the GUI would be not be running in the "main thread", causing some problems.
What I really would like to use is WPF. Is it possible to compile WPF GUI as a class library, call it from DLL C++? (like figure below) Or it is a dumb question?
Obs:
- I can use both C++ and C++/CLR