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. Windows Forms
  4. Question about C++ and C# ...

Question about C++ and C# ...

Scheduled Pinned Locked Moved Windows Forms
questionc++csharphelp
2 Posts 2 Posters 7 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi All, I have some old project that implement some GUI in MFC. I need to change one of the dialog in this GUI - and i found out that i can do it in very easy way in C#. Can / How can i mix between those two language ? i want to do in in the easy way - but i don't want to write all the application in C# ... Someone have a idea ? :confused::confused::confused: Thanks for any help.

    C 1 Reply Last reply
    0
    • L Lost User

      Hi All, I have some old project that implement some GUI in MFC. I need to change one of the dialog in this GUI - and i found out that i can do it in very easy way in C#. Can / How can i mix between those two language ? i want to do in in the easy way - but i don't want to write all the application in C# ... Someone have a idea ? :confused::confused::confused: Thanks for any help.

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

      Yanshof wrote:

      How can i mix between those two language ?

      You can turn on a flag that makes your C++ code able to use managed classes, and write a managed wrapper for the C++ classes you want to reuse in .NET. C++/CLI is what you're looking to do.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      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