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

+ Reply to Thread
Results 1 to 2 of 2

C++ and C# integrate

  1. Default C++ and C# integrate

    What are the way to utilize C++ and C# language in the same project in
    Visual Studio ?


    Thanks

  2. Default 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




+ Reply to Thread

Similar Threads

  1. How to integrate gnuplot in a application
    By Application Development in forum Graphics
    Replies: 1
    Last Post: 10-28-2007, 04:11 PM
  2. to integrate HTML
    By Application Development in forum CSharp
    Replies: 3
    Last Post: 10-16-2007, 01:50 PM
  3. Cannot integrate Photoshop and lightroom
    By Application Development in forum Adobe Photoshop
    Replies: 0
    Last Post: 08-23-2007, 11:12 AM
  4. How to integrate TCL into Labveiw 8.2
    By Application Development in forum TCL
    Replies: 6
    Last Post: 08-03-2007, 11:45 AM
  5. AD does not integrate with Exchange
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 09-21-2006, 11:52 AM