HOW DO I LINK C++ FILES AND VISUAL BASIC FORMS?
I HAVE CREATED FORMS IN VISUAL BASIC FORMS FOR INTERFACE AND C++ FILES FOR DATABASE.
Printable View
HOW DO I LINK C++ FILES AND VISUAL BASIC FORMS?
I HAVE CREATED FORMS IN VISUAL BASIC FORMS FOR INTERFACE AND C++ FILES FOR DATABASE.
One way would be to write the C++ files as an ATL object so VB can use it in CreateObject("Some.thing").
This would make your VB be the EXE. That would probably be the best way. Another way is to make
the C++ files the EXE and import the VB forms into VC++ resource files. The only problem with this is
you would have to rewrite your message handlers in C++.
Wayne