I've searched for information on this topic and I've not settled on a satisfying path forward.
I have several C/C++ libraries with specialized classes and variables. I am trying to figure out what is the best way to build a GUI.
I have experience with python/C# GUI creation, and usually stick to Python because it's faster and usually someone has written wrappers for a lot of APIs. The GUI does need to save variables (eg. as class members) and interpret data from user and output data to user in the form of strings or integers.
For APIs built on C++ I've explored a few options:
1) Use CLI/C++
Initially I thought this allows to directly combine C++ code within the .NET framework without having to write any wrappers or marshal data. As I dove deeper it seems that it's not quite that trivial. I would need a pretty good reference but also to understand if it's even worthwhile to learn this.
2) Use C# and wrap the C++
3) Use Python and wrap the C++
I really like how powerful Visual Studio is so I'm now thinking of doing 2), and suspect that I'm wasting my time with 1). This is something that I'll be doing very often so I might as well obtain this skillset (a lot of the instrument APIs that I use are C/C++ based).
Thanks for checking this out.