How do you combine vb and c code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • petesquawk
    New Member
    • Sep 2009
    • 15

    How do you combine vb and c code

    How easy is it to combine vb and c code in VS 2008? I have an application that is written in vb and interface files for a motion controller written in C++. The vb and c++ code need to communicate between each other. How hard would it be to use events and delegates to solve this problem?
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Probably the thing to would be to wrap the C++ code in a C++/CLR class library. That would allow any .NET programming language (including VB.NET) to use the class library.

    Comment

    • petesquawk
      New Member
      • Sep 2009
      • 15

      #3
      If there is a really simple program that combines vb and c++ code in Visual Studio 2008, it would really help me.

      I have looked and haven't found a good example I can work off of yet.

      Comment

      Working...