Multiple Languages

This is a discussion on Multiple Languages within the Windows Programming forums, part of the Platform Specific Boards category; What is the best way to use .NET 2003 to use VB for the user interface and C# and C++ ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    241

    Multiple Languages

    What is the best way to use .NET 2003 to use VB for the user interface and C# and C++ for the classes and the majority of the code.

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    It isn't all that hard to do, actually. I have used DLLs written in C with VB very easily in the past. Can you give us a more exact example of what you are refering to? It honestly depends on what sort of objects you intend to use between languages.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    241
    I beleive that is will mostly be various objects. This program as it stands right now is suppossed to basically simulate a control for a virtual house, including light, heating and cooling, refrigerator, and security system controls. We need a good user interface, but also a large amount of object oriented stuff.

  4. #4
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    If you're going to use .NET, why bother mixing VB.NET, C#, and MC++?

    In fact by the sound of what you want to do, using VB.NET or C# would be a good route.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    241
    I am using the different languages because I am working with all those languages because each of the people I am working with are only really good with one of those languages each, and I have used all of them, but they know them a little more in depth than I do.

  6. #6
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Ok then. It's all .NET right? If that's the case, using multiple languages for a single application is rather simple. Since it's compiled into MSIL (unless you're compiling hybrid x86/MSIL code), just create the libraries in whichever language you like. The speed and functionality are relatively the same between MC++ (minus any ASM optimizations), C#, VB.NET, and a few other .NET languages.

    The beauty of a managed platform is that you CAN use multiple languages to create libraries, use them all from the same application, with little matter of what language was used, since most of the machine code is compiled at run-time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 06-08-2009, 03:03 PM
  2. why Multiple define error ...
    By nilathinesh in forum C Programming
    Replies: 2
    Last Post: 10-19-2006, 06:31 AM
  3. Phantom redefinition
    By CodeMonkey in forum C++ Programming
    Replies: 6
    Last Post: 06-12-2005, 05:42 PM
  4. Linker errors - Multiple Source files
    By nkhambal in forum C Programming
    Replies: 3
    Last Post: 04-24-2005, 02:41 AM
  5. Replies: 1
    Last Post: 05-01-2003, 02:52 PM

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