Question 1
Is there a way to call VB code from a C++ program?
Question 2
Is there a way to call C# code from inside C++ programs or the other way round?
Printable View
Question 1
Is there a way to call VB code from a C++ program?
Question 2
Is there a way to call C# code from inside C++ programs or the other way round?
1) Yes, by writing a DLL and using it like you would in any other language.
2) Yes. Again, its the same thing. I think theres also add-ins that allow you to run C# (VB.NET/C++/OtherLanguages.NET) modules in any other .NET language. Try searching Google for CLR (common language runtime), and information about .NET language compatibility..
Phreak
But why would you? Normally it would be the C++ code that you would use in the VB/.NET program.
Why go for a downgrade?
My Bud and I want to start a program to together;
I know;
C++ NET (Beginning)
VB6 (Pretty Good)
and he knows;
C# NET ( Good )
We want to know if we can program a program in C++ & C# together.
Why would you need to call a dll w/ vbcode in it if your program is c# / c++
:sick:
You may well be right and it certainly should be that way but I thought that C++ had problems using dlls created in VB.Quote:
Originally posted by «°°phReAk°°»
1) Yes, by writing a DLL and using it like you would in any other language....
Nevermind, here's how.Quote:
Originally posted by MartinLiss
You may well be right and it certainly should be that way but I thought that C++ had problems using dlls created in VB.