Thread: Cross language with VB.Net

  1. #1
    Registered User shuesty's Avatar
    Join Date
    Oct 2002

    Cross language with VB.Net

    I've been trying to find the magic lines of code that will link my two projects together. I have a fully functional managed c++ application running and a fully functional windows application. I want to call some of the c++ functions (all of them actually except main()) from my gui except I have no clue how and windows doesn't exactly tell you. Help would be greatly appreciated!!

  2. #2
    Registered User
    Join Date
    Aug 2002
    look up using .dll files in visual basic. You can make them in c++ and then use them in visual basic.

  3. #3
    Something Clever ginoitalo's Avatar
    Join Date
    Dec 2001
    In your VB.NET project you can either add the entire managed C++ project or reference the compiled .dll

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why C Matters
    By DavidP in forum A Brief History of
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  2. Minimax, URGENT :(
    By Dark-MX0Z in forum C++ Programming
    Replies: 6
    Last Post: 11-14-2007, 06:29 AM
  3. cross language programming
    By infinet_e in forum C++ Programming
    Replies: 2
    Last Post: 12-29-2006, 10:21 PM
  4. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  5. Language of choice after C++
    By gandalf_bar in forum A Brief History of
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM