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.
Printable View
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.
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.
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.
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.
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.
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.