How to mix a VB program with a C++ Program
I have a C++ program that I wrote, and I would like to give it a user interface. Is there any way I can run a C++ program and put the information from the program onto the UI of a VB Application?
- COM Interop
- P/Invoke (a.k.a. Declare in VB)
- Oh, I forgot: C++/CLR if you intend to use Windows only
I suggest you write the whole application in a managed language (e.g. VB.Net) and only invoke C++ library functions for the performance critical work (or for legacy code that you already have, of course).