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. MFC app - porting

MFC app - porting

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++
5 Posts 2 Posters 3 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.
  • M Offline
    M Offline
    MattG
    wrote on last edited by
    #1

    Hi All I have come to the conclusion that i should ditch MFC and go the .NET way. I have a dialog based MFC project 25% complete. Is there a way of been able to use these classes and forms from .NET (managed C++ or C#) so i don't have to rewrite everything. Thanks Matt Matt G

    M 1 Reply Last reply
    0
    • M MattG

      Hi All I have come to the conclusion that i should ditch MFC and go the .NET way. I have a dialog based MFC project 25% complete. Is there a way of been able to use these classes and forms from .NET (managed C++ or C#) so i don't have to rewrite everything. Thanks Matt Matt G

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      Harggg!!! I don't think so! You need to re-program the UI ( no builder ), and if your current MFC app is very UI intensive, it can take some times. Max.

      M 1 Reply Last reply
      0
      • M Maximilien

        Harggg!!! I don't think so! You need to re-program the UI ( no builder ), and if your current MFC app is very UI intensive, it can take some times. Max.

        M Offline
        M Offline
        MattG
        wrote on last edited by
        #3

        Thanks Max, Do you agree its probably better to move it now rather than the whole project later? As i get the feeling we'll all be going the C# way. Cheers Matt G

        M 1 Reply Last reply
        0
        • M MattG

          Thanks Max, Do you agree its probably better to move it now rather than the whole project later? As i get the feeling we'll all be going the C# way. Cheers Matt G

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          There are 2 possibilities : 1- move now : pros : less code to port; chance to learn a new technology. cons : learning curve and false expectations from management. 2- move later : pros : not much pros here, except maybe a better knowledge of the application domain. cons : lot's of re-programming; maybe hard to convince your boos to pay to redo something that's already working. Whatever the choice you take, I'd suggest trying to separate the UI from the core as much as possible. If I was in your position, I'd move now to .net. Max.

          M 1 Reply Last reply
          0
          • M Maximilien

            There are 2 possibilities : 1- move now : pros : less code to port; chance to learn a new technology. cons : learning curve and false expectations from management. 2- move later : pros : not much pros here, except maybe a better knowledge of the application domain. cons : lot's of re-programming; maybe hard to convince your boos to pay to redo something that's already working. Whatever the choice you take, I'd suggest trying to separate the UI from the core as much as possible. If I was in your position, I'd move now to .net. Max.

            M Offline
            M Offline
            MattG
            wrote on last edited by
            #5

            From a personnel point of view (and maybe project), i think i'm heading out to buy my first C# book. Thanks for your advice Max Matt G

            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