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
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Sample for migrating C++ console app

Sample for migrating C++ console app

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++help
3 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.
  • A Offline
    A Offline
    alleyes 0
    wrote on last edited by
    #1

    I have asked on the VC++ forum on MSDN for an app that provides somewhat of an illustration of a legacy C++ app migrated to C++/CLI. I have been unsuccessful so far. I have a C++ console exe app that I need to wrap that in a managed class so I can call it using C#. I can post code if necessary. The program is not that big but there was a pop-up dialog that claimed otherwise. I don't know if I should create a dll out of it and export functions or something else Appreciate any help offered. Please re-direct if this is the wrong forum. Al

    Jer 29:11

    L 1 Reply Last reply
    0
    • A alleyes 0

      I have asked on the VC++ forum on MSDN for an app that provides somewhat of an illustration of a legacy C++ app migrated to C++/CLI. I have been unsuccessful so far. I have a C++ console exe app that I need to wrap that in a managed class so I can call it using C#. I can post code if necessary. The program is not that big but there was a pop-up dialog that claimed otherwise. I don't know if I should create a dll out of it and export functions or something else Appreciate any help offered. Please re-direct if this is the wrong forum. Al

      Jer 29:11

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Al_S wrote:

      I have asked on the VC++ forum on MSDN

      Your requirements are very specific and I dont think there are any code samples composed of native C++ being converted to managed C++/CLI. Microsoft did however produce some documentation and a checklist. C++/CLI Migration Primer[^] Managed Extensions for C++ Syntax Upgrade Checklist[^] Best Wishes, -David Delaune

      A 1 Reply Last reply
      0
      • L Lost User

        Al_S wrote:

        I have asked on the VC++ forum on MSDN

        Your requirements are very specific and I dont think there are any code samples composed of native C++ being converted to managed C++/CLI. Microsoft did however produce some documentation and a checklist. C++/CLI Migration Primer[^] Managed Extensions for C++ Syntax Upgrade Checklist[^] Best Wishes, -David Delaune

        A Offline
        A Offline
        alleyes 0
        wrote on last edited by
        #3

        I too have looked on the forums. It seems from numerous threads in my searches that my requirements are indeed not specific and very much in line with what developers are looking to do. That is, migrate console legacy code to that with a UI front end and wrap that in a managed dll or convert to unmanged dll and call it via IJW or P/Invoke. One source of help is located here http://cfx.codeplex.com/[^] I strongly recommend it as I am going through it and find a ton of useful example and resources. It seems it's been created for those asking questions similar to mine and designed as an aid to the solution Al

        Jer 29:11

        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