CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: VISUAL BASIC

  1. #1
    Guest

    VISUAL BASIC

    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.


  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: VISUAL BASIC

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured