Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Is there anyone use C++/CLI in the real project?

Is there anyone use C++/CLI in the real project?

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++cssdotnetarchitecture
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tal Rashas Guardianship
    wrote on last edited by
    #1

    I have a project written in C++,and I want to use the .NET framework as the architecture in the next version. Rewrite all the code in C# is impossible, so I give my attention to C++/CLI. I have less understanding about this tech, I only know these points about it: 1.The original C++ code can be compiled in the C++/CLI compiler 2.I can use all of the C++ function in the new platform 3.I can use all of the .NET framework function in my C++ code 4.For deploy issue, I will only need to install the .NET framework will my application, then everything could be OK Are there any other things need to be noticed?

    M 1 Reply Last reply
    0
    • T Tal Rashas Guardianship

      I have a project written in C++,and I want to use the .NET framework as the architecture in the next version. Rewrite all the code in C# is impossible, so I give my attention to C++/CLI. I have less understanding about this tech, I only know these points about it: 1.The original C++ code can be compiled in the C++/CLI compiler 2.I can use all of the C++ function in the new platform 3.I can use all of the .NET framework function in my C++ code 4.For deploy issue, I will only need to install the .NET framework will my application, then everything could be OK Are there any other things need to be noticed?

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Tal Rasha's Guardianship wrote:

      4.For deploy issue, I will only need to install the .NET framework will my application, then everything could be OK

      You may need to deploy additional things used by your C++ code, like MFC and/or the CRT libraries. You should also understand interop between native and managed code, if it applies. Visual C++ .NET Programming Guide[^] Mark

      T 1 Reply Last reply
      0
      • M Mark Salsbery

        Tal Rasha's Guardianship wrote:

        4.For deploy issue, I will only need to install the .NET framework will my application, then everything could be OK

        You may need to deploy additional things used by your C++ code, like MFC and/or the CRT libraries. You should also understand interop between native and managed code, if it applies. Visual C++ .NET Programming Guide[^] Mark

        T Offline
        T Offline
        Tal Rashas Guardianship
        wrote on last edited by
        #3

        Thanks for your reply. I cared about if C++/CLI can be used in a large C++ project, are there any troubles may happen?

        M 1 Reply Last reply
        0
        • T Tal Rashas Guardianship

          Thanks for your reply. I cared about if C++/CLI can be used in a large C++ project, are there any troubles may happen?

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          C++/CLI is great for making the transition from native C++ to the managed .NET world - that's it's intended purpose. If you have C++ code and you want to use the .NET framework then it's great. Eventually you'll notice that the development tools using C# are much better, but C++/CLI let's you use your existing C++ code as you make the transition. I use C++/CLI extensively, along with native C++ and C#. There's no troubles that are any different than using any other .NET language. Having the rich .NET framework available to existing C++ code is great. It's worth taking the time to study and understand the fundamentals of managed programming. Especially important is performance-critical applications if you're making a lot of transitions between managed and unmanaged code. C++: The Most Powerful Language for .NET Framework Programming[^] CLR Development (How Do I in Visual C++)[^] Mark

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups