C++ and C# integrate - CSharp
This is a discussion on C++ and C# integrate - CSharp ; What are the way to utilize C++ and C# language in the same project in
Visual Studio ?
Thanks...
-
C++ and C# integrate
What are the way to utilize C++ and C# language in the same project in
Visual Studio ?
Thanks
-
Re: C++ and C# integrate
In the same project in Visual Studio? You can't. A project can target
only one language (as you need to run a compiler against it and all the code
items have to be able to be recognized by the one compiler).
Now, you can compile C++ code and C# code into the same ^assembly^, but
you would have to more than likely use the command line compilers to do
this. You would have two projects, one C#, and one C++, and then compile to
netmodules. Then, you would use al.exe (the assembly linker) to compile the
modules into an assembly.
Of course, you can have a C# project and a C++ project in the same
^solution^ and have your C++ code create managed assemblies, which you
access in your C# project, or vice versa.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
<alep82@gmail.com> wrote in message
news:b34a8dcd-3da4-4a7a-a452-bdfff2fcf9f7@s19g2000prg.googlegroups.com...
> What are the way to utilize C++ and C# language in the same project in
> Visual Studio ?
>
>
> Thanks
Similar Threads
-
By Application Development in forum Graphics
Replies: 1
Last Post: 10-28-2007, 04:11 PM
-
By Application Development in forum CSharp
Replies: 3
Last Post: 10-16-2007, 01:50 PM
-
By Application Development in forum Adobe Photoshop
Replies: 0
Last Post: 08-23-2007, 11:12 AM
-
By Application Development in forum TCL
Replies: 6
Last Post: 08-03-2007, 11:45 AM
-
By Application Development in forum Microsoft Exchange
Replies: 1
Last Post: 09-21-2006, 11:52 AM