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. C#
  4. C++ to C# [modified]

C++ to C# [modified]

Scheduled Pinned Locked Moved C#
csharpc++oophelpquestion
6 Posts 6 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.
  • S Offline
    S Offline
    sreecahitu
    wrote on last edited by
    #1

    Hello all, We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely, there would be many problems while converting pointers, Multiple inheritance in C++ and etc, could anyone help me in providing some information about the issues in converting the C++ code to C# code?

    modified on Sunday, April 13, 2008 12:59 AM

    T P D R 4 Replies Last reply
    0
    • S sreecahitu

      Hello all, We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely, there would be many problems while converting pointers, Multiple inheritance in C++ and etc, could anyone help me in providing some information about the issues in converting the C++ code to C# code?

      modified on Sunday, April 13, 2008 12:59 AM

      T Offline
      T Offline
      Tjie Pouw
      wrote on last edited by
      #2

      if you want to have a clean result of the C# version, i don't think it can be done the way you have imagined, by converting the pointer, multiple inheritance and so on. you have to understand first the whole idea what is in the program you want to convert in C++ version, and then redesign it in C# version. but unfortunately for you, you have to understand first the C++ version.

      1 Reply Last reply
      0
      • S sreecahitu

        Hello all, We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely, there would be many problems while converting pointers, Multiple inheritance in C++ and etc, could anyone help me in providing some information about the issues in converting the C++ code to C# code?

        modified on Sunday, April 13, 2008 12:59 AM

        P Offline
        P Offline
        pmarfleet
        wrote on last edited by
        #3

        sreecahitu wrote:

        We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely

        How can you possibly undertake this work if you don't understand C++? Do you seriously expect to gain an understanding of such a complex language from a single forum post? Your company has serious problems if people are assigned to projects that they don't have the technical skills for.

        Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

        C 1 Reply Last reply
        0
        • P pmarfleet

          sreecahitu wrote:

          We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely

          How can you possibly undertake this work if you don't understand C++? Do you seriously expect to gain an understanding of such a complex language from a single forum post? Your company has serious problems if people are assigned to projects that they don't have the technical skills for.

          Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          pmarfleet wrote:

          Your company has serious problems if people are assigned to projects that they don't have the technical skills for.

          That's how it's done nowadays, have you not noticed ?

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          1 Reply Last reply
          0
          • S sreecahitu

            Hello all, We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely, there would be many problems while converting pointers, Multiple inheritance in C++ and etc, could anyone help me in providing some information about the issues in converting the C++ code to C# code?

            modified on Sunday, April 13, 2008 12:59 AM

            D Offline
            D Offline
            Dave Doknjas
            wrote on last edited by
            #5

            We produce a product which assists with this (named very creatively as 'C++ to C# Converter'), however as the others have noted it is futile to attempt this if you don't already have a very good grasp of C++. A converter helps with the grunt work, but the most complex aspects of conversion are the areas that often need some manual adjustments and if you don't know C++ you'll have great difficulty ensuring that the original functionality is preserved. Also, some C++ code simply cannot be converted to C#.

            David Anton http://www.tangiblesoftwaresolutions.com C++ to C# Converter C++ to VB Converter C++ to Java Converter Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: convert VB, C#, or Java to C++/CLI Java to VB & C# Converter: convert Java to VB or C#

            1 Reply Last reply
            0
            • S sreecahitu

              Hello all, We are going to start a migration project, i,e from C++ to C#, i do not have any idea on C++ absoultely, there would be many problems while converting pointers, Multiple inheritance in C++ and etc, could anyone help me in providing some information about the issues in converting the C++ code to C# code?

              modified on Sunday, April 13, 2008 12:59 AM

              R Offline
              R Offline
              Ravenet
              wrote on last edited by
              #6

              Dear Guy i have one suggestion for this, y u need convert ur project to C#?.C# have great feature p/Invoke.So uc an invoke in ur c++ dll function within C#. don't need convert to ur code , create unmanaged dll, then call in c# code with P/Invoke.

              Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com

              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