Multi Language projects

This is a discussion on Multi Language projects within the C++ Programming forums, part of the General Programming Boards category; In every programming class that I have taken in the .net environment, they all say that you can write programs ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    37

    Multi Language projects

    In every programming class that I have taken in the .net environment, they all say that you can write programs in different langauges but none say exactly how to do it. If I wanted to do the graphics in VB.net and the code in C++ how would the project be put together? How would you make C++ function calls from the VB program? Does anyone have a project or a set of instructions that would walk me through the process. Many internet searches over the past few days have come up blank. When you search for multi language projects, I guess most people think you have two programmers that don't speak the same language instead of writing the program in different programming languages. I went to the visual studios web site, searched the web, even looked for books and have come up blank so far. Can anyone help? I did a search on the board and it returned zero results, so If this has been covered before please point out where and forgive my ignorance.

    Thank you,
    Alan

  2. #2
    Registered User
    Join Date
    Dec 2004
    Posts
    95
    C++.NET is rather looked down upon, because it's a bit half-arsed and really not great (if you want C syntax in .NET go with C#, if you want C++, use C++ non-netified).

    Anyway, I think it involves writing "assemblies" (.NET terminology) and using say, an assembly you wrote in C# from your VB program..but I haven't actually used VB.NET or C# so that may be rubbish

    For non .NET, in Windows, you might just write a DLL in C++ that you use in VB6 either as a COM component or a normal ("Declare Function Lib..") DLL.

    Anyway I'm sure someone else can give you some real information.

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    >>if you want C syntax in .NET go with C#

    Really?

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Do a board search - the question has been asked several times. Also search MSDN (use google - "(search term) msdn" - it works better than MSDN search)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which Language? need help ASAP
    By jcw122 in forum Tech Board
    Replies: 7
    Last Post: 03-07-2005, 04:16 PM
  2. multiple language project
    By TankCDR in forum C# Programming
    Replies: 11
    Last Post: 02-09-2005, 06:33 AM
  3. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  4. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 02:11 PM
  5. Multi File Projects
    By Travis Dane in forum C++ Programming
    Replies: 12
    Last Post: 12-25-2002, 07:48 PM

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