I am starting a new small project where the graphic interface and a bit of juggling data too and fro is missing, but the complex and time-critial parts of the code exist and are written in c/c++. Previously I’ve used the win32 api, MFC to do the graphics, but I want something a bit more modern looking and newer and something that is a bit simpler to maintain and update. I should probably mention that I also want to try out and learn something new…
A few years ago I tried integrating c++ components to c# using pinvoke. It turned out quite messy. But that was a long time ago…
Any tips? What should I use?
Prerequisites: Windows (XP or 7) and VS 2005, 2008 or 2010. Eclipse should also work fine.
You could try QT or wxWidgets that are both good C++ GUI toolkits.
If you don’t have much entry point in the c++ code yuo could wrap them in few C# classes and use WPF or windows form (.NET 4 or 2). Anyway this requires to “mix managed and unmanaged code”.