Click to See Complete Forum and Search --> : VISUAL BASIC


July 11th, 1999, 01:18 PM
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.

Wayne Fuller
July 11th, 1999, 09:37 PM
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