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. .NET (Core and Framework)
  4. Visual C++ with .NET Framework

Visual C++ with .NET Framework

Scheduled Pinned Locked Moved .NET (Core and Framework)
c++csharpdotnet
5 Posts 3 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.
  • P Offline
    P Offline
    prithaa
    wrote on last edited by
    #1

    Hello, I have code in VC++ with MFC.Can I develop the same code in .NET framework. What major changes will be required in the VC++ code. Prithaa

    P R 2 Replies Last reply
    0
    • P prithaa

      Hello, I have code in VC++ with MFC.Can I develop the same code in .NET framework. What major changes will be required in the VC++ code. Prithaa

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Well - if you're dealing entirely with the .NET framework, then pretty much every bit of your MFC code is going to change. If it works as MFC, why change it?

      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      • P prithaa

        Hello, I have code in VC++ with MFC.Can I develop the same code in .NET framework. What major changes will be required in the VC++ code. Prithaa

        R Offline
        R Offline
        rtalan
        wrote on last edited by
        #3

        If you are developing new code, why waste time with a 15 year old API like MFC. If you are trying to use existing MFC code, you can host your MFC code in WPF through the interop mechanisms. Only you can weigh the cost between salvaging MFC code or re-writing it in Windows Forms or WPF.

        P 1 Reply Last reply
        0
        • R rtalan

          If you are developing new code, why waste time with a 15 year old API like MFC. If you are trying to use existing MFC code, you can host your MFC code in WPF through the interop mechanisms. Only you can weigh the cost between salvaging MFC code or re-writing it in Windows Forms or WPF.

          P Offline
          P Offline
          prithaa
          wrote on last edited by
          #4

          Hello, Thanks for your support. Where will I find the details of hosting MFC code in WPF ? Can you give me the link. Prithaa

          R 1 Reply Last reply
          0
          • P prithaa

            Hello, Thanks for your support. Where will I find the details of hosting MFC code in WPF ? Can you give me the link. Prithaa

            R Offline
            R Offline
            rtalan
            wrote on last edited by
            #5

            I'm a book worm, myself... Windows Presentation Foundation Unleashed - Adam Nathan Essential Windows Presentation Foundation - Chris Anderson

            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