Cross language with VB.Net

This is a discussion on Cross language with VB.Net within the C++ Programming forums, part of the General Programming Boards category; I've been trying to find the magic lines of code that will link my two projects together. I have a ...

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

    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
    Posts
    6
    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
    Posts
    187
    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 Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 08:09 AM
  2. Minimax, URGENT :(
    By Dark-MX0Z in forum C++ Programming
    Replies: 6
    Last Post: 11-14-2007, 05:29 AM
  3. cross language programming
    By infinet_e in forum C++ Programming
    Replies: 2
    Last Post: 12-29-2006, 09:21 PM
  4. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 01:40 PM
  5. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21