I have had the luxory of writing my application in
100% VB6. In the future, I may have to write applications
that provide a pretty GUI to programs written by others in
C/C++.
Are there relatively simple ways to provide hooks into
C/C++ applications?
You can access C++ that has been compiled as a DLL with exposed methods from VB.
It's not all that hard.
But personally- if all you want to do is add a GUI to existing command line code- I would think you'd be better off sticking w/C++. I only integrate the 2 when I've got something already in VB that I must use but I want the added performance of C++.
If you do decide to call the C++ code, be sure that the functions/methods are exported via the __declspec(dllexport) modifier. Your C++ guy will know about this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.